mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
22 lines
518 B
Nix
22 lines
518 B
Nix
{
|
|
config,
|
|
lib,
|
|
withSystem,
|
|
...
|
|
}:
|
|
{
|
|
_module.args.helpers = import ../lib { inherit lib; };
|
|
|
|
# TODO: output lib without pkgs at the top-level
|
|
flake.lib = lib.genAttrs config.systems (
|
|
lib.flip withSystem (
|
|
{ pkgs, ... }:
|
|
{
|
|
# NOTE: this is the publicly documented flake output we've had for a while
|
|
check = import ../lib/tests.nix { inherit lib pkgs; };
|
|
# TODO: no longer needs to be per-system
|
|
helpers = import ../lib { inherit lib; };
|
|
}
|
|
)
|
|
);
|
|
}
|