From 9e16b812e0ed89c3e9c58f2e20ede5deb5321181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 17 Mar 2010 13:56:40 +0000 Subject: [PATCH] Mono: Don't strip binaries. svn path=/nixpkgs/trunk/; revision=20708 --- pkgs/development/compilers/mono/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/mono/default.nix b/pkgs/development/compilers/mono/default.nix index 34e12fff18d1..fbbaf72fe7d9 100644 --- a/pkgs/development/compilers/mono/default.nix +++ b/pkgs/development/compilers/mono/default.nix @@ -12,6 +12,10 @@ stdenv.mkDerivation { 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 ./