summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/module.nix b/module.nix
index 0655880..47c52dd 100644
--- a/module.nix
+++ b/module.nix
@@ -52,7 +52,8 @@ in {
'';
# This is useful to skip copying executables uploading a script to an in-memory installer
- system.build.diskoNoDeps = pkgs.writers.writeBash "disko" ''
+ system.build.diskoNoDeps = pkgs.writeScript "disko" ''
+ #!/usr/bin/env bash
${types.diskoLib.zapCreateMount cfg.devices}
'';