modules/dei: replace writeScriptBin with writeShellApplication
Description of changes
Replaces all instances of writeScriptBin
with writeShellApplication
in modules/dei
.
writeShellApplication provides sensible defaults for shell scripts, such as setting -euo pipefail
by default.
It also runs shellcheck
against the script. This is a strong check to ensure basic bugs are caught early at derivation-time, not in production.
Things done
-
Tested -
Updated documentation (Wiki/NetBox) -
Breaking change