diff options
author | Domen Kožar <domen@dev.si> | 2016-06-06 13:06:44 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-06-06 13:34:52 +0100 |
commit | 8ad607040ef622771572e282bdda49af99b2d2a1 (patch) | |
tree | bb9bb1f6255d39bf28f8026c02fa7c1b3b425b88 /maintainers/scripts | |
parent | 5260686aa84dea2e2810d88789ab251f09ef2a0e (diff) |
travis-ci: attempt to fix linux builds
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-x | maintainers/scripts/travis-nox-review-pr.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh index f797352c5408a..a366ac435bd10 100755 --- a/maintainers/scripts/travis-nox-review-pr.sh +++ b/maintainers/scripts/travis-nox-review-pr.sh @@ -13,6 +13,10 @@ if [[ $1 == nix ]]; then sudo mkdir /etc/nix sudo sh -c 'echo "build-max-jobs = 4" > /etc/nix/nix.conf' + # Nix builds in /tmp and we need exec support + sudo mount + sudo mount -o remount,exec /run + # Verify evaluation echo "=== Verifying that nixpkgs evaluates..." nix-env -f. -qa --json >/dev/null |