diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/install-darwin.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/install-darwin.sh b/tests/install-darwin.sh index 30a3cc3d36b1..4a6ab7d6471a 100755 --- a/tests/install-darwin.sh +++ b/tests/install-darwin.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -eux + cleanup() { PLIST="/Library/LaunchDaemons/org.nixos.nix-daemon.plist" if sudo launchctl list | grep -q nix-daemon; then @@ -47,7 +49,10 @@ verify ( - nix-build ./release.nix -A binaryTarball.x86_64-darwin + ( + echo "cd $(pwd)" + echo nix-build ./release.nix -A binaryTarball.x86_64-darwin + ) | bash -l cp ./result/nix-*.tar.bz2 $scratch/nix.tar.bz2 ) |