diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index b921f161f012..1e8ac0ec66ef 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -412,6 +412,7 @@ remove_tmpPath() { } remove_tmpHomePath() { + chmod -R u+w "$tmpHomePath" rm -rf "$tmpHomePath" }