mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
tests swap: add jq to system
This commit is contained in:
parent
12c7e608ed
commit
4ce2aa4845
2 changed files with 4 additions and 1 deletions
|
@ -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 a new issue