mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
remove dependency on bash
This commit is contained in:
parent
fb771318d1
commit
6c3e0d22e4
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue