diff options
author | wmertens <Wout.Mertens@gmail.com> | 2014-10-15 11:52:23 +0200 |
---|---|---|
committer | wmertens <Wout.Mertens@gmail.com> | 2014-10-15 11:52:23 +0200 |
commit | 5e6b6df33ec0369f7587d1b581fdb61a2a85a019 (patch) | |
tree | 76e5fff9171fe5982114ed313c4167e16a7211e9 /maintainers | |
parent | 3de73cb77d64412b911dc8226272f44bf02a488d (diff) | |
download | nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar.gz nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar.bz2 nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar.lz nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar.xz nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.tar.zst nixpkgs-5e6b6df33ec0369f7587d1b581fdb61a2a85a019.zip |
Travis build: source environment before build
:poop:
Diffstat (limited to 'maintainers')
-rwxr-xr-x | maintainers/scripts/travis-nox-review-pr.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |