From e4fdd9d101aa7343f1b7f872a70352336a3f2d0f Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sat, 8 Jun 2019 15:36:36 +0200 Subject: [PATCH] grant write permissions to the build user --- pkgs/nim-packages/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/nim-packages/generic.nix b/pkgs/nim-packages/generic.nix index 9fffa84..c658e05 100644 --- a/pkgs/nim-packages/generic.nix +++ b/pkgs/nim-packages/generic.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation { else cp -R ${dep} $HOME/.nimble/pkgs/${dep.name} fi + # nimble >= 0.20.0 wants to store a nimblemeta.json here + chmod u+w $HOME/.nimble/pkgs/${dep.name} '' ) nimDeps) + '' nimble install