mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +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 ./.))
|
(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 // {
|
evalTest "lvm-luks-example" ../example/config.nix // {
|
||||||
standalone = (pkgs.nixos [ ../example/stand-alone/configuration.nix ]).config.system.build.toplevel;
|
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