lol

OCaml-4.02: fix ocamlbuild

This addresses the issue described at http://caml.inria.fr/mantis/view.php?id=6605

+6
+6
pkgs/development/compilers/ocaml/4.02.1.nix
··· 9 9 let 10 10 useNativeCompilers = !stdenv.isMips; 11 11 inherit (stdenv.lib) optionals optionalString; 12 + patchOcamlBuild = fetchurl { 13 + url = https://github.com/ocaml/ocaml/pull/117.patch; 14 + sha256 = "0x2cdn2sgzq29qzqg5y2ial0jqy8gjg5a7jf8qqch55dc4vkyjw0"; 15 + }; 12 16 in 13 17 14 18 stdenv.mkDerivation rec { ··· 23 27 url = "http://caml.inria.fr/pub/distrib/ocaml-4.02/${name}.tar.xz"; 24 28 sha256 = "1p7lqvh64xpykh99014mz21q8fs3qyjym2qazhhbq8scwldv1i38"; 25 29 }; 30 + 31 + patches = [ patchOcamlBuild ]; 26 32 27 33 prefixKey = "-prefix "; 28 34 configureFlags = optionals useX11 [ "-x11lib" x11lib