@@ -5,7 +5,7 @@ export NIX_CURL_FLAGS=-sS
55
66if [[ $1 == nix ]]; then
77 # Install Nix
8− bash <(curl -sS https://nixos.org/nix/install) >/dev/null 2>&1
8+ bash <(curl -sS https://nixos.org/nix/install)
99 source $HOME/.nix-profile/etc/profile.d/nix.sh
1010
1111 # Make sure we can use hydra's binary cache
@@ -17,7 +17,7 @@ build-max-jobs = 4
1717EOF
1818
1919 # Verify evaluation
20− nix-env -f. -qa --json >/dev/null
20+ nix-env -f. -qa --json
2121elif [[ $1 == nox ]]; then
2222 git clone -q https://github.com/madjar/nox
2323 pip --quiet install -e nox
@@ -30,10 +30,7 @@ elif [[ $1 == build ]]; then
3030 else
3131 # The current HEAD is the PR merged into origin/master, so we compare
3232 # against origin/master
33− # However, since we want to optimize build time, we compare against
34− # the last commit Hydra compiled
35− built_rev=$(ls -l $HOME/.nix-defexpr/channels/nixpkgs | sed 's/.*\.\(.*\)\/nixpkgs/\1/')
36− nox-review wip --against $built_rev
33+ nox-review wip --against origin/master
3734 fi
3835else
3936 echo "$0: Unknown option $1" >&2