aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 14:11:39 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 14:11:39 -0300
commit45c9698c9940aa4dff9a6b7e9199958c9a6bd6e5 (patch)
tree24bee133e76a39feb11595689beb451540bdf36e /.build.yml
parentCreate Nix store with sudo (diff)
downloadtoph-45c9698c9940aa4dff9a6b7e9199958c9a6bd6e5.tar.gz
toph-45c9698c9940aa4dff9a6b7e9199958c9a6bd6e5.tar.xz
Create Nix store with sudo before installing Nix
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml3
1 files changed, 2 insertions, 1 deletions
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