travis-ci: attempt to fix linux builds

This commit is contained in:
Domen Kožar 2016-06-06 13:06:44 +01:00
parent 5260686aa8
commit 8ad607040e

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