commit da8f72baf09da7b6433c689a759bb6fce22a7d3b
parent 64275f09601d742f19be478cc1b24eeb8dc9a1fe
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 24 Jun 2020 19:50:24 +0300
Update .travis.yml
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -1,6 +1,8 @@
language: nix
nix: 2.3.6
+sudo: yes
+
env:
global:
- CACHIX_CACHE=sikmir
@@ -12,6 +14,10 @@ matrix:
- env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable
- env: NIX_CHANNEL=https://nixos.org/channels/nixos-20.03
+before_install:
+ - sudo mkdir -p /etc/nix
+ - echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
+
install:
- nix --version
- if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; fi