From ea430a68d0f042ec4483642c159d73574967c181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 6 Mar 2019 10:57:10 +0000 Subject: [PATCH] .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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 91e4b5b..66ece26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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