···66in
77stdenv.mkDerivation rec {
88 name = "mono-${version}";
99- version = "3.12.1";
99+ version = "4.0.1";
1010 src = fetchurl {
1111 url = "http://download.mono-project.com/sources/mono/${name}.tar.bz2";
1212- sha256 = "03dn68vignknzxy1rx75p16qx1ild27hixgvr5mw0j19mx9z332x";
1212+ sha256 = "1kjv1zhcmd2qfr89vkaas6541n5jfzisn3y030l6lg6lp3ria7zz";
1313 };
14141515 buildInputs = [bison pkgconfig glib gettext perl libgdiplus libX11 ncurses zlib];
···4040 substituteInPlace mono/mini/aot-compiler.c --replace "llvm_path = g_strdup (\"\")" "llvm_path = g_strdup (\"${llvm}/bin/\")"
4141 '';
42424343- #Fix mono DLLMap so it can find libX11 and gdiplus to run winforms apps
4444- #Other items in the DLLMap may need to be pointed to their store locations, I don't think this is exhaustive
4545- #http://www.mono-project.com/Config_DllMap
4343+ # Fix mono DLLMap so it can find libX11 and gdiplus to run winforms apps
4444+ # Other items in the DLLMap may need to be pointed to their store locations, I don't think this is exhaustive
4545+ # http://www.mono-project.com/Config_DllMap
4646 postBuild = ''
4747 find . -name 'config' -type f | while read i; do
4848 sed -i "s@libX11.so.6@${libX11}/lib/libX11.so.6@g" $i