* Use fixed-output hashes in fetchsvn.

* In nix-prefetch-svn, support setuid installations where the user has
  no write access to the Nix store.

svn path=/nixpkgs/trunk/; revision=2275
This commit is contained in:
Eelco Dolstra
2005-02-22 16:27:28 +00:00
parent 1177e8925f
commit fa88e75c45
3 changed files with 26 additions and 10 deletions
+7 -1
View File
@@ -4,6 +4,12 @@ stdenv.mkDerivation {
name = "svn-export";
builder = ./builder.sh;
buildInputs = [subversion nix];
# Nix <= 0.7 compatibility.
id = md5;
inherit url rev md5;
outputHashAlgo = "md5";
outputHash = md5;
inherit url rev;
}