Commit b62dba13 authored by Josh Hoffer's avatar Josh Hoffer
Browse files

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.
parent 3cc766b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ let

  finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" ''
    #!${pkgs.runtimeShell}
    set -euo pipefail
    ${systemdBootBuilder}/bin/systemd-boot "$@"
    ${cfg.extraInstallCommands}
  '';