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
This commit is contained in:
parent
7d3e0c542c
commit
64eadafc2b
@ -1,16 +1,19 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
let version = "7.1"; in
|
let
|
||||||
|
version = if stdenv.isMips then "7.2alpha4" else "7.1";
|
||||||
|
in
|
||||||
stdenv.mkDerivation ({
|
stdenv.mkDerivation ({
|
||||||
name = "boehm-gc-${version}";
|
name = "boehm-gc-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${version}.tar.gz";
|
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 =
|
patches = stdenv.lib.optional (stdenv.system == "i686-cygwin")
|
||||||
stdenv.lib.optional (stdenv.system == "i686-cygwin")
|
|
||||||
./cygwin-pthread-dl.patch;
|
./cygwin-pthread-dl.patch;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user