diff options
Diffstat (limited to 'modules/installer/tools/nixos-rebuild.sh')
-rw-r--r-- | modules/installer/tools/nixos-rebuild.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/installer/tools/nixos-rebuild.sh b/modules/installer/tools/nixos-rebuild.sh index 22aa847e192e..72661cf47735 100644 --- a/modules/installer/tools/nixos-rebuild.sh +++ b/modules/installer/tools/nixos-rebuild.sh @@ -128,8 +128,7 @@ if [ -n "$pullManifest" -o "$action" = pull ]; then set -o pipefail manifests=$(nix-instantiate --eval-only --xml --strict '<nixos>' -A manifests \ | grep '<string' | sed 's^.*"\(.*\)".*^\1^g') - - set -o nopipefail + set +o pipefail if [ $? -ne 0 ]; then exit 1; fi mkdir -p /nix/var/nix/channel-cache |