aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 14:13:36 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 14:14:26 -0300
commit08cf4865960d3ca98c01a6d3232dc408aefac67b (patch)
tree87929704de77865a7a62104ee9900029848ad3e7 /.build.yml
parentCreate Nix store with sudo before installing Nix (diff)
downloadserver-08cf4865960d3ca98c01a6d3232dc408aefac67b.tar.gz
server-08cf4865960d3ca98c01a6d3232dc408aefac67b.tar.xz
Change ownership to build instead of root of /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 5ef9330..4e13041 100644
--- a/.build.yml
+++ b/.build.yml
@@ -13,7 +13,8 @@ secrets:
- 7084b7c7-12be-4509-8927-81ba6eeb1fc0
tasks:
- setup: |
- sudo mkdir -m 0755 /nix && sudo chown root /nix
+ sudo mkdir -m 0755 /nix
+ sudo chown -R build /nix
curl https://nixos.org/nix/install | sh
echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
cd vps/