module: pass makeTest and eval-config to diskoLib

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

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ let
, extraSystemConfig ? { } , extraSystemConfig ? { }
, efi ? true , efi ? true
, postDisko ? "" , 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 , testBoot ? true # if we actually want to test booting or just create/mount
}: }:
let let
+2
View File
@@ -3,6 +3,8 @@ let
diskoLib = import ./lib { diskoLib = import ./lib {
inherit lib; inherit lib;
rootMountPoint = config.disko.rootMountPoint; 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; cfg = config.disko;
in in