mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
tests swap: add jq to system
This commit is contained in:
parent
12c7e608ed
commit
4ce2aa4845
@ -20,7 +20,7 @@ let
|
||||
(lib.attrNames (builtins.readDir ./.))
|
||||
);
|
||||
|
||||
allTests = lib.genAttrs (allTestFilenames) (test: import (./. + "/${test}.nix") { inherit makeDiskoTest; }) //
|
||||
allTests = lib.genAttrs (allTestFilenames) (test: import (./. + "/${test}.nix") { inherit makeDiskoTest pkgs; }) //
|
||||
evalTest "lvm-luks-example" ../example/config.nix // {
|
||||
standalone = (pkgs.nixos [ ../example/stand-alone/configuration.nix ]).config.system.build.toplevel;
|
||||
};
|
||||
|
@ -16,4 +16,7 @@ makeDiskoTest {
|
||||
'
|
||||
""");
|
||||
'';
|
||||
extraConfig = {
|
||||
environment.systemPackages = [ pkgs.jq ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user