nix-community.nixvim/flake-modules/lib.nix
Matt Sturgeon cbd1003d9d
modules/test: move test derivation to an option
Introduced the `test.derivation` read-only option.
2024-08-21 02:48:00 +01:00

11 lines
172 B
Nix

{
config,
lib,
withSystem,
...
}:
{
flake.lib = lib.genAttrs config.systems (
lib.flip withSystem ({ pkgs, ... }: import ../lib { inherit pkgs lib; })
);
}