aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7ce4540..4a7aa46 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,12 @@ sudo: false
3language: nix 3language: nix
4nix: 2.3.4 4nix: 2.3.4
5env: 5env:
6 - NIX_PATH=nixpkgs=channel:nixos-20.03 6 - CUSTOM_NIX_PATH=nixpkgs=channel:nixos-20.03
7
8# Travis nix integration will install nix AFTER the environment variables are set
9# and the nix installer will overide NIX_PATH variable thus we need to re-export it
10before_install:
11 - export NIX_PATH="$CUSTOM_NIX_PATH"
7 12
8install: 13install:
9 - nix-env -i -f ./default.nix 14 - nix-env -i -f ./default.nix