From 5e6b6df33ec0369f7587d1b581fdb61a2a85a019 Mon Sep 17 00:00:00 2001 From: wmertens Date: Wed, 15 Oct 2014 11:52:23 +0200 Subject: [PATCH] Travis build: source environment before build :poop: --- maintainers/scripts/travis-nox-review-pr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh index dc45cf13ab6..0835dc92b7b 100755 --- a/maintainers/scripts/travis-nox-review-pr.sh +++ b/maintainers/scripts/travis-nox-review-pr.sh @@ -22,6 +22,8 @@ elif [[ $1 == nox ]]; then git clone -q https://github.com/madjar/nox pip --quiet install -e nox elif [[ $1 == build ]]; then + source $HOME/.nix-profile/etc/profile.d/nix.sh + if [[ $TRAVIS_PULL_REQUEST == false ]]; then echo "===> Not a pull request, checking evaluation" nix-build pkgs/top-level/release.nix -A tarball