summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-11-29 10:53:56 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-11-29 13:08:24 +0100
commit6c3e0d22e465541b35772ba4a00331f587bc28c5 (patch)
treee4c9d5fae8d4c5d14ea45bf1e330a353fe934d28
parentfb771318d11b563254d12c3751effaedfe16ab35 (diff)
remove dependency on bash
-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}
'';