3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/mono/default.nix
Lluís Batlle i Rossell da9e4402ee Pinta still does not build (xbuild pkgconfig problems), but mono and gtk-sharp-2 build fine.
svn path=/nixpkgs/trunk/; revision=22322
2010-06-18 08:16:21 +00:00

24 lines
644 B
Nix

{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}:
stdenv.mkDerivation {
name = "mono-2.6.4";
src = fetchurl {
url = http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.4.tar.bz2;
sha256 = "08krrl9zdigzxxa10c9scy518301l20xmw6dc2w8s0rvrhxryny0";
};
buildInputs = [bison pkgconfig glib gettext perl];
propagatedBuildInputs = [glib];
NIX_LDFLAGS = "-lgcc_s" ;
# 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
dontStrip = true;
preBuild = "
makeFlagsArray=(INSTALL=`type -tp install`)
patchShebangs ./
";
}