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:
@@ -102,6 +102,7 @@ let
|
||||
|
||||
finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
set -euo pipefail
|
||||
${systemdBootBuilder}/bin/systemd-boot "$@"
|
||||
${cfg.extraInstallCommands}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user