mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
module: pass makeTest and eval-config to diskoLib
This commit is contained in:
parent
2800cf502a
commit
1ddcff717c
@ -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 New Issue
Block a user