Merge pull request #16022 from NixOS/travis/noexec

travis-ci: attempt to fix linux builds
This commit is contained in:
Domen Kožar 2016-06-06 13:45:22 +01:00
commit 55028d556f

View File

@ -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