modules/test: move test derivation to an option

Introduced the `test.derivation` read-only option.
This commit is contained in:
Matt Sturgeon 2024-08-05 12:21:24 +01:00
parent 851edc8df1
commit cbd1003d9d
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
7 changed files with 114 additions and 91 deletions

View file

@ -6,12 +6,6 @@
}:
{
flake.lib = lib.genAttrs config.systems (
lib.flip withSystem (
{ pkgs, config, ... }:
import ../lib {
inherit pkgs lib;
inherit (config.legacyPackages) makeNixvimWithModule;
}
)
lib.flip withSystem ({ pkgs, ... }: import ../lib { inherit pkgs lib; })
);
}