* 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
This commit is contained in:
Eelco Dolstra
2008-02-28 22:36:37 +00:00
parent 5883330e2c
commit 66738cc356
7 changed files with 70 additions and 77 deletions
+2 -2
View File
@@ -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;
}