tests swap: add jq to system

This commit is contained in:
lassulus 2022-12-24 10:35:38 +01:00
parent 12c7e608ed
commit 4ce2aa4845
2 changed files with 4 additions and 1 deletions

View File

@ -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;
};

View File

@ -16,4 +16,7 @@ makeDiskoTest {
'
""");
'';
extraConfig = {
environment.systemPackages = [ pkgs.jq ];
};
}