ocaml: add local copy of the ocamlbuild patch

This commit is contained in:
Vincent Laporte
2015-11-28 09:48:55 +01:00
parent 8cd52ce5f7
commit a3fa690fa2
2 changed files with 46 additions and 5 deletions
+1 -5
View File
@@ -9,10 +9,6 @@ assert useX11 -> !stdenv.isArm && !stdenv.isMips;
let
useNativeCompilers = !stdenv.isMips;
inherit (stdenv.lib) optionals optionalString;
patchOcamlBuild = fetchurl {
url = https://github.com/ocaml/ocaml/pull/117.patch;
sha256 = "0x2cdn2sgzq29qzqg5y2ial0jqy8gjg5a7jf8qqch55dc4vkyjw0";
};
in
stdenv.mkDerivation rec {
@@ -28,7 +24,7 @@ stdenv.mkDerivation rec {
sha256 = "1qwwvy8nzd87hk8rd9sm667nppakiapnx4ypdwcrlnav2dz6kil3";
};
patches = [ patchOcamlBuild ];
patches = [ ./ocamlbuild.patch ];
prefixKey = "-prefix ";
configureFlags = optionals useX11 [ "-x11lib" x11lib