commit 915e8e6f2383124a15ccdb9171a5b3f13b581ff7
parent 4b20a8c6a0f6a7ed5da6bc6bc0f3ace45f7ca585
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 24 Jun 2020 21:22:11 +0300
Update .travis.yml
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -14,6 +14,14 @@ matrix:
- env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable
- env: NIX_CHANNEL=https://nixos.org/channels/nixos-20.03
+cache:
+ directories:
+ - $HOME/nix.store
+
+before_cache:
+ - mkdir -p $HOME/nix.store
+ - nix copy --to file://$HOME/nix.store
+
before_install:
- sudo mkdir -p /etc/nix
- echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf