3
0
Fork 0
forked from mirrors/nixpkgs

updated darcs2 to last release (2.1.0pre3) which fixed some http download problems.

Also adding assertion to force users to switch to darcs-2 unless they really want to keep using darcs-1

svn path=/nixpkgs/trunk/; revision=13038
This commit is contained in:
Marc Weber 2008-10-09 22:58:14 +00:00
parent 3d90901798
commit d827e4f16f
3 changed files with 12 additions and 5 deletions

View file

@ -1,11 +1,12 @@
{stdenv, fetchurl, ghc, zlib, ncurses, curl, perl}:
stdenv.mkDerivation {
name = "darcs-2.0.2";
name = "darcs-2.1.0pre3";
src = fetchurl {
url = http://darcs.net/darcs-2.0.2.tar.gz;
sha256 = "17plbfwz2rvzbvr9b90z55lj51ilnq22hhr38hffila1gsxqfk0n";
url = http://www.darcs.net/darcs-2.1.0pre3.tar.gz;
sha256 = "a4b63c16a20edef3e1dc06db29211b7272b51e6ef10e12924e6515fb71f58303";
};
buildInputs = [ghc zlib ncurses curl perl];
NIX_LDFLAGS = "-lz";

View file

@ -1,4 +1,10 @@
{stdenv, fetchurl, ghc, zlib, ncurses, curl}:
{stdenv, fetchurl, ghc, zlib, ncurses, curl, getConfig}:
# you really should consider using darcs2 and updating your darcs-1 repos ..
# many performance improvements have been made if you use the darcs-2 or hashed format
# (darcs-2 is default now when runnig darcs 2.1.0)
# lookup darcs convert and make sure you understand the one way conversion..
assert getConfig ["darcs" "IreallyWantDarcsOne"] false;
stdenv.mkDerivation {
name = "darcs-1.0.9";

View file

@ -6069,7 +6069,7 @@ let
};
darcs = import ../applications/version-management/darcs {
inherit fetchurl stdenv zlib ncurses curl;
inherit fetchurl stdenv zlib ncurses curl getConfig;
ghc = ghc661;
};