From 45c9698c9940aa4dff9a6b7e9199958c9a6bd6e5 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 26 May 2019 14:11:39 -0300 Subject: Create Nix store with sudo before installing Nix --- .build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index 7c72190..5ef9330 100644 --- a/.build.yml +++ b/.build.yml @@ -13,7 +13,8 @@ secrets: - 7084b7c7-12be-4509-8927-81ba6eeb1fc0 tasks: - setup: | - curl https://nixos.org/nix/install | sudo sh + sudo mkdir -m 0755 /nix && sudo chown root /nix + curl https://nixos.org/nix/install | sh echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv cd vps/ git crypt unlock -- cgit v1.3