about summary refs log tree commit diff
path: root/maintainers/scripts/travis-nox-review-pr.sh
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-05-15 11:33:27 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-05-15 11:55:17 +0200
commit27149b201a1746e457fd14e136986cee00127929 (patch)
treea8f4b17f0abfa21b53d97a2f2a198df76c5eaa2b /maintainers/scripts/travis-nox-review-pr.sh
parentb740e046ab42d6ce1c5a87762927eeb040d4cf10 (diff)
downloadnixlib-27149b201a1746e457fd14e136986cee00127929.tar
nixlib-27149b201a1746e457fd14e136986cee00127929.tar.gz
nixlib-27149b201a1746e457fd14e136986cee00127929.tar.bz2
nixlib-27149b201a1746e457fd14e136986cee00127929.tar.lz
nixlib-27149b201a1746e457fd14e136986cee00127929.tar.xz
nixlib-27149b201a1746e457fd14e136986cee00127929.tar.zst
nixlib-27149b201a1746e457fd14e136986cee00127929.zip
travis: refine NixOS options check
Looks like --show-trace wasn't as useful as I'd hoped.  Also, because checking
nixos options is cheaper than checking the tarball, it makes sense to check the
options first to fail faster.
Diffstat (limited to 'maintainers/scripts/travis-nox-review-pr.sh')
-rwxr-xr-xmaintainers/scripts/travis-nox-review-pr.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh
index e9ca22117aa4..db0f449c92af 100755
--- a/maintainers/scripts/travis-nox-review-pr.sh
+++ b/maintainers/scripts/travis-nox-review-pr.sh
@@ -23,12 +23,12 @@ elif [[ $1 == nox ]]; then
 elif [[ $1 == build ]]; then
     source $HOME/.nix-profile/etc/profile.d/nix.sh
 
+    echo "=== Checking NixOS options"
+    nix-build nixos/release.nix -A options
+
     echo "=== Checking tarball creation"
     nix-build pkgs/top-level/release.nix -A tarball
 
-    echo "=== Checking NixOS options"
-    nix-build --show-trace nixos/release.nix -A options
-
     if [[ $TRAVIS_PULL_REQUEST == false ]]; then
         echo "=== Not a pull request"
     else