summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-28 22:36:37 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-28 22:36:37 +0000
commit66738cc35637cab52931480729376afe790067d8 (patch)
tree60f2be4daf3f4d3754eb87f34886f74cdbee2cfd /pkgs/build-support/fetchsvn
parent5883330e2c1437138f5bec1a62c5492e9d5aebc0 (diff)
downloadnixpkgs-66738cc35637cab52931480729376afe790067d8.tar
nixpkgs-66738cc35637cab52931480729376afe790067d8.tar.gz
nixpkgs-66738cc35637cab52931480729376afe790067d8.tar.bz2
nixpkgs-66738cc35637cab52931480729376afe790067d8.tar.lz
nixpkgs-66738cc35637cab52931480729376afe790067d8.tar.xz
nixpkgs-66738cc35637cab52931480729376afe790067d8.tar.zst
nixpkgs-66738cc35637cab52931480729376afe790067d8.zip
* fetchcvs: cleanup, use nix-store --add-fixed like fetchurl/svn.
  Argument "url" renamed to "cvsRoot" (it's not a URL).

svn path=/nixpkgs/trunk/; revision=10889
Diffstat (limited to 'pkgs/build-support/fetchsvn')
-rw-r--r--pkgs/build-support/fetchsvn/default.nix4
-rwxr-xr-xpkgs/build-support/fetchsvn/nix-prefetch-svn4
2 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/build-support/fetchsvn/default.nix b/pkgs/build-support/fetchsvn/default.nix
index ce6a1e61d9c..d1435dc4fb6 100644
--- a/pkgs/build-support/fetchsvn/default.nix
+++ b/pkgs/build-support/fetchsvn/default.nix
@@ -9,9 +9,9 @@ stdenv.mkDerivation {
   # Nix <= 0.7 compatibility.
   /*id = if sha256 == "" then md5 else sha256;*/
 
-  outputHashAlgo = if sha256=="" then "md5" else "sha256";
+  outputHashAlgo = if sha256 == "" then "md5" else "sha256";
   outputHashMode = "recursive";
-  outputHash = if sha256 =="" then md5 else sha256;
+  outputHash = if sha256 == "" then md5 else sha256;
   
   inherit url rev sshSupport openssh;
 }
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index cfefee70b03..f7a0ccc7b7b 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -16,10 +16,6 @@ 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
-
 
 # If the hash was given, a file with that hash may already be in the
 # store.