From 0899ed25566ae8aa43af3d5383f94304f9cf12dd Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Tue, 30 Jul 2019 20:23:31 -0700 Subject: [PATCH] try using cachix with travis https://mpickering.github.io/posts/2019-06-24-overkill-or-not.html --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e84aee..014b2b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,8 @@ sudo: true language: nix -script: nix-build --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' --option trusted-public-keys ' r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=' + +script: + - nix-env -iA cachix -f https://cachix.org/api/v1/install + - cachix use nixpkgs-update + - cachix push nixpkgs-update --watch-store& + - nix-build