diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-21 17:09:02 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-21 17:09:02 +0000 |
commit | 64eadafc2b382da30a1f15aff3637af74c24c4aa (patch) | |
tree | 68e7edd9c12b0f985667b48b54149190e37527c3 /pkgs/development/libraries/boehm-gc | |
parent | 7d3e0c542c80233df8e2b8873f5a63522c540d04 (diff) |
Using a new boehm-gc (alpha, not stable) on the mips,
because the stable does not support mips at all
svn path=/nixpkgs/branches/stdenv-updates/; revision=23319
Diffstat (limited to 'pkgs/development/libraries/boehm-gc')
-rw-r--r-- | pkgs/development/libraries/boehm-gc/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 8e6f67495339..6d1074165b5d 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -1,16 +1,19 @@ {stdenv, fetchurl}: -let version = "7.1"; in +let + version = if stdenv.isMips then "7.2alpha4" else "7.1"; +in stdenv.mkDerivation ({ name = "boehm-gc-${version}"; src = fetchurl { url = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${version}.tar.gz"; - sha256 = "0c5zrsdw0rsli06lahcqwwz0prgah340fhfg7ggfgvz3iw1gdkp3"; + sha256 = (if version == "7.1" then "0c5zrsdw0rsli06lahcqwwz0prgah340fhfg7ggfgvz3iw1gdkp3" + else if version == "7.2alpha4" then "1ya9hr1wbx0hrx29q5zy2k51ml71k9mhqzqs7f505qr9s6jsfh0b" + else throw "Version unknown"); }; - patches = - stdenv.lib.optional (stdenv.system == "i686-cygwin") + patches = stdenv.lib.optional (stdenv.system == "i686-cygwin") ./cygwin-pthread-dl.patch; doCheck = true; |