summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index b6019386ee9..3e99e6f5de0 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -11,6 +11,10 @@ fi
 
 test -n "$rev" || rev="HEAD"
 
+# Use a restrictive umask to ensure that the output in the Nix store
+# is not group- or world-writable.  Nix 0.10 complains about this.
+umask 0022
+
 # Determine the hash, unless it was given.
 if test -z "$hash"; then