mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
fix: expect normal disko-config module files
This commit is contained in:
parent
2a59af78a8
commit
15b62fd7a1
4
cli.nix
4
cli.nix
@ -3,8 +3,8 @@
|
||||
, diskoFile
|
||||
, ... }@args:
|
||||
let
|
||||
disko = import ./. {};
|
||||
diskFormat = import diskoFile args;
|
||||
disko = import ./. { inherit (pkgs) lib; };
|
||||
diskFormat = import diskoFile;
|
||||
diskoEval = if (mode == "create") then
|
||||
disko.createScript diskFormat pkgs
|
||||
else if (mode == "mount") then
|
||||
|
Loading…
Reference in New Issue
Block a user