anchor.diff:      homepage = http://mono-project.com/;
       description = "Cross platform, open source .NET development framework";
       platforms = with stdenv.lib.platforms; darwin ++ linux;
  -    maintainers = with stdenv.lib.maintainers; [ viric thoughtpolice obadz ];
  +    maintainers = with stdenv.lib.maintainers; [ viric thoughtpolice obadz vrthra ];
       license = stdenv.lib.licenses.free; # Combination of LGPL/X11/GPL ?
     };
   }
  
positive.code: { stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc }:
  
  let
    llvm     = callPackage ./llvm.nix { };
    llvmOpts = stdenv.lib.optionalString withLLVM "--enable-llvm --enable-llvmloaded --with-llvm=${llvm}";
  in
  stdenv.mkDerivation rec {
    name = "mono-${version}";
    version = "4.0.4.1";
    src = fetchurl {
      url = "http://download.mono-project.com/sources/mono/${name}.tar.bz2";
      sha256 = "1ydw9l89apc9p7xr5mdzy0h97g2q6v243g82mxswfc2rrqhfs4gd";
    };
  
    buildInputs =
      [ bison pkgconfig glib gettext perl libgdiplus libX11 ncurses zlib
      ]
      ++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]);
  
  
negative.code: 
    # In fact I think this line does not help at all to what I
    # wanted to achieve: have mono to find libgdiplus automatically
    configureFlags = [
      "--x-includes=${libX11.dev}/include"
      "--x-libraries=${libX11.out}/lib"
      "--with-libgdiplus=${libgdiplus}/lib/libgdiplus.so"
    ]
    ++ stdenv.lib.optionals withLLVM [
      "--enable-llvm"
      "--enable-llvmloaded"
      "--with-llvm=${llvm}"
    ];
  
    # 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
  