diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh index ffe817bc8bea..416fd03692f8 100755 --- a/maintainers/scripts/travis-nox-review-pr.sh +++ b/maintainers/scripts/travis-nox-review-pr.sh @@ -23,13 +23,13 @@ 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" if [[ $TRAVIS_OS_NAME == "osx" ]]; then - echo "Skipped, as not working on darwin" + echo "Skipping NixOS things on darwin" else + echo "=== Checking NixOS options" + nix-build nixos/release.nix -A options + + echo "=== Checking tarball creation" nix-build pkgs/top-level/release.nix -A tarball fi