module: pass makeTest and eval-config to diskoLib

This commit is contained in:
lassulus 2023-07-20 21:32:53 +02:00
parent 2800cf502a
commit 1ddcff717c
2 changed files with 3 additions and 1 deletions

View File

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

View File

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