Skip to content

modules/dei: replace writeScriptBin with writeShellApplication

Rafael Girão requested to merge 21jan25-fix-multi-dms-deploy into master

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

Merge request reports

Loading