tests swap: add jq to system

This commit is contained in:
lassulus committed 2022-12-24 12:13:04 +01:00
1 parent 12c7e608ed
commit 4ce2aa4845
2 files changed
+4 -1

No files matched your search

+1 -1
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;
};
+3
View File
@@ -16,4 +16,7 @@ makeDiskoTest {
'
""");
'';
extraConfig = {
environment.systemPackages = [ pkgs.jq ];
};
}