summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Arnold <david.arnold@iohk.io>2022-11-05 22:29:28 -0500
committerlassulus <lassulus@lassul.us>2022-11-09 12:21:45 +0100
commit15b62fd7a1b6500cc4ee039550297640e86c8383 (patch)
tree5667729effbde4f5125fff7eb5350f08e0775be6
parent2a59af78a8e2e7ab6fc7a4be3671da0c19a8806c (diff)
fix: expect normal disko-config module files
-rw-r--r--cli.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli.nix b/cli.nix
index 76e0971..f99ad61 100644
--- a/cli.nix
+++ b/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