diff --git a/.travis.yml b/.travis.yml index 1828ba3..cbb568a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,10 @@ install: # https://github.com/nixos/nix/issues/2733 - (for i in {1..5}; do bash <(curl https://nixos.org/nix/install) && exit 0; done; exit 1) - . /home/travis/.nix-profile/etc/profile.d/nix.sh - - nix-env -iA cachix -f https://cachix.org/api/v1/install - - cachix use nix-bitcoin - if [[ $STABLE == 1 ]]; then export NIX_PATH="nixpkgs=$(nix eval --raw -f pkgs/nixpkgs-pinned.nix nixpkgs)"; fi - if [[ $STABLE == 0 ]]; then export NIX_PATH="nixpkgs=$(nix eval --raw -f pkgs/nixpkgs-pinned.nix nixpkgs-unstable)"; fi + - nix-env -iA cachix -f https://cachix.org/api/v1/install + - cachix use nix-bitcoin - VER="$(nix eval nixpkgs.lib.version)" env: jobs: