nixos/systemd-boot: set strict error handling in installer script

Previously, if `boot.loader.systemd-boot.extraInstallCommands`
was non-empty, errors from `systemdBootBuilder` would be ignored.
This commit is contained in:
Josh Hoffer
2026-03-18 11:17:16 -07:00
parent 3cc766b438
commit b62dba13c6
@@ -102,6 +102,7 @@ let
finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" ''
#!${pkgs.runtimeShell}
set -euo pipefail
${systemdBootBuilder}/bin/systemd-boot "$@"
${cfg.extraInstallCommands}
'';