grant write permissions to the build user

This commit is contained in:
Christian Ulrich 2019-06-08 15:36:36 +02:00
parent b8c3cfa6bf
commit e4fdd9d101
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ stdenv.mkDerivation {
else else
cp -R ${dep} $HOME/.nimble/pkgs/${dep.name} cp -R ${dep} $HOME/.nimble/pkgs/${dep.name}
fi fi
# nimble >= 0.20.0 wants to store a nimblemeta.json here
chmod u+w $HOME/.nimble/pkgs/${dep.name}
'' ''
) nimDeps) + '' ) nimDeps) + ''
nimble install nimble install