Home

nur @main - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
tree log patch
Merge pull request #22 from nix-community/cachix-fix travis: fix cachix support
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJe95VOCRBK7hj4Ov3rIwAAdHIIAIBsLCwTx6Ha+pQHl7arugnI kSPI73V6LUj0JzAyCFtNneCnEgGSanD4N1l0YPYYkWw/bzcnjY6QJVEg15QxbYcN C27iB6VdPbRKBCt5GQTIeoXSQ0/+oexKxNONYfWHaCzAKQU230KqoZOVk+TrfhOH eGomwYYD1uCtiU7NoxiHHdP1jQTjANPiaoJVekkWgLKJHlC6EZ9wNwjUIo+wrI4A E32Fosygzghc0ATBFbQGu2V/D3OQS/RcK9KO3dgrz77zTlSSwvwMkkJCUE6O+h8W OVTHlkUpdG3kkaC1SukC47203pIQ23IXyplTX1NG+EqWpk6f2PXdHSbPa9GdeE8= =0pMR -----END PGP SIGNATURE-----
Jörg Thalheim <Mic92@users.noreply.github.com>
4 years ago
1 changed files, 3 additions(+), 0 deletions(-)
M .travis.yml -> .travis.yml
diff --git a/.travis.yml b/.travis.yml
index 8b3c9397f45127c6762baf4f6b15a088039334e8..8d0173216d91ed396d538500ea5909ffc83efda8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,9 @@     - env: NIX_CHANNEL=https://nixos.org/channels/nixos-20.03
 
 install:
  - nix --version
+ # for cachix we need travis to be a trusted nix user
+ - echo "trusted-users = $USER" | sudo tee -a /etc/nix/nix.conf
+ - sudo systemctl restart nix-daemon
  - if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; 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