mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
remove dependency on bash
This commit is contained in:
1 parent
fb771318d1
commit
6c3e0d22e4
1 file changed
+2
-1
+2
-1
@@ -52,7 +52,8 @@ in {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# This is useful to skip copying executables uploading a script to an in-memory installer
|
# 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}
|
${types.diskoLib.zapCreateMount cfg.devices}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user