mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 16:10:03 +01: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
|
# 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}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue