Merge pull request #131837 from NixOS/backport-131831-to-release-21.05

[Backport release-21.05] nixos-rebuild: Set inherit_errexit
This commit is contained in:
Eelco Dolstra
2021-07-28 22:53:44 +02:00
committed by GitHub

View File

@@ -4,6 +4,7 @@ if [ -x "@runtimeShell@" ]; then export SHELL="@runtimeShell@"; fi;
set -e
set -o pipefail
shopt -s inherit_errexit
export PATH=@path@:$PATH