Updating mono from 2.6 to 2.8
svn path=/nixpkgs/trunk/; revision=24614
This commit is contained in:
parent
384eefe26b
commit
f4a73e2ddd
@ -1,10 +1,10 @@
|
|||||||
{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}:
|
{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mono-2.6.4";
|
name = "mono-2.8";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.4.tar.bz2;
|
url = http://ftp.novell.com/pub/mono/sources/mono/mono-2.8.tar.bz2;
|
||||||
sha256 = "08krrl9zdigzxxa10c9scy518301l20xmw6dc2w8s0rvrhxryny0";
|
sha256 = "04bivxg90mmihkp72sjshl4ijbjcbl9f6hdgm476zy794g5rwd78";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [bison pkgconfig glib gettext perl];
|
buildInputs = [bison pkgconfig glib gettext perl];
|
||||||
@ -12,10 +12,15 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
NIX_LDFLAGS = "-lgcc_s" ;
|
NIX_LDFLAGS = "-lgcc_s" ;
|
||||||
|
|
||||||
|
# To overcome the bug https://bugzilla.novell.com/show_bug.cgi?id=644723
|
||||||
|
dontDisableStatic = true;
|
||||||
|
|
||||||
# Attempt to fix this error when running "mcs --version":
|
# Attempt to fix this error when running "mcs --version":
|
||||||
# The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image
|
# The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preBuild = "
|
preBuild = "
|
||||||
makeFlagsArray=(INSTALL=`type -tp install`)
|
makeFlagsArray=(INSTALL=`type -tp install`)
|
||||||
patchShebangs ./
|
patchShebangs ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user