mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
nixos-rebuild: fail if any case of pull fails.
This commit is contained in:
parent
5b7c019e2a
commit
de87b07bb3
@ -130,7 +130,7 @@ if [ -n "$pullManifest" -o "$action" = pull ]; then
|
||||
| grep '<string' | sed 's^.*"\(.*\)".*^\1^g')
|
||||
|
||||
set -o nopipefail
|
||||
[ "$action" = pull -a $? -ne 0 ] && exit 1
|
||||
if [ $? -ne 0 ]; then exit 1; fi
|
||||
|
||||
mkdir -p /nix/var/nix/channel-cache
|
||||
for i in $manifests; do
|
||||
|
Loading…
Reference in New Issue
Block a user