remove dependency on bash

This commit is contained in:
Jörg Thalheim 2022-11-29 10:53:56 +01:00
parent fb771318d1
commit 6c3e0d22e4

View File

@ -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}
'';