mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
module: pass makeTest and eval-config to diskoLib
This commit is contained in:
parent
2800cf502a
commit
1ddcff717c
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue