mirror of
https://github.com/nix-community/disko.git
synced 2026-12-04 15:03:28 +01:00
fix: expect normal disko-config module files
This commit is contained in:
1 parent
2a59af78a8
commit
15b62fd7a1
1 file changed
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
, diskoFile
|
, diskoFile
|
||||||
, ... }@args:
|
, ... }@args:
|
||||||
let
|
let
|
||||||
disko = import ./. {};
|
disko = import ./. { inherit (pkgs) lib; };
|
||||||
diskFormat = import diskoFile args;
|
diskFormat = import diskoFile;
|
||||||
diskoEval = if (mode == "create") then
|
diskoEval = if (mode == "create") then
|
||||||
disko.createScript diskFormat pkgs
|
disko.createScript diskFormat pkgs
|
||||||
else if (mode == "mount") then
|
else if (mode == "mount") then
|
||||||
|
|||||||
Reference in new issue
Block a user