module: pass makeTest and eval-config to diskoLib
This commit is contained in:
@@ -46,7 +46,7 @@ let
|
||||
, extraSystemConfig ? { }
|
||||
, efi ? true
|
||||
, postDisko ? ""
|
||||
, testMode ? "module" # can be direct or module
|
||||
, testMode ? "module" # can be one of direct module cli
|
||||
, testBoot ? true # if we actually want to test booting or just create/mount
|
||||
}:
|
||||
let
|
||||
|
@@ -3,6 +3,8 @@ let
|
||||
diskoLib = import ./lib {
|
||||
inherit lib;
|
||||
rootMountPoint = config.disko.rootMountPoint;
|
||||
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
|
||||
eval-config = import (pkgs.path + "/nixos/lib/eval-config.nix");
|
||||
};
|
||||
cfg = config.disko;
|
||||
in
|
||||
|
Reference in New Issue
Block a user