.travis.yaml: change how cachix is installed

Sadly nixpkgs haskell set is not stable and there's little
I can do to improve that, so official way to install cachix is via
known nixpkgs commit as above
This commit is contained in:
Domen Kožar 2019-03-06 10:57:10 +00:00 committed by GitHub
parent c145cf0a48
commit ea430a68d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ matrix:
install:
- nix --version
- if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; fi
- if [ -n "${CACHIX_CACHE}" ]; then nix-env -i cachix; fi
- if [ -n "${CACHIX_CACHE}" ]; then nix-env -iA cachix -f https://cachix.org/api/v1/install; fi
- if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi
- nix-channel --add "${NIX_CHANNEL}" nixpkgs
- travis_retry nix-channel --update