ocamlPackages.biocaml: patch for -safe-string compilation with Ocaml 4.10
This commit is contained in:
parent
203d0644b4
commit
7547926b81
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildDunePackage, fetchFromGitHub
|
{ stdenv, buildDunePackage, fetchFromGitHub, fetchpatch
|
||||||
, ounit, async, base64, camlzip, cfstream
|
, ounit, async, base64, camlzip, cfstream
|
||||||
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm }:
|
, core, ppx_jane, ppx_sexp_conv, rresult, uri, xmlm }:
|
||||||
|
|
||||||
@ -17,6 +17,12 @@ buildDunePackage rec {
|
|||||||
sha256 = "1f19nc8ld0iv45jjnsvaah3ddj88s2n9wj8mrz726kzg85cfr8xj";
|
sha256 = "1f19nc8ld0iv45jjnsvaah3ddj88s2n9wj8mrz726kzg85cfr8xj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# fix compilation without and disable -unsafe-string, needed for Ocaml 4.10:
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = "https://github.com/biocaml/biocaml/commit/597fa7b0d203684e45ffe03f56c74335b6173ffc.patch";
|
||||||
|
sha256 = "0b8jdg215cv2k4y3ww7vak2ag5v6v9w8b76qjivr5d1qxz47mqxv";
|
||||||
|
}) ];
|
||||||
|
|
||||||
buildInputs = [ ppx_jane ppx_sexp_conv ];
|
buildInputs = [ ppx_jane ppx_sexp_conv ];
|
||||||
checkInputs = [ ounit ];
|
checkInputs = [ ounit ];
|
||||||
propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
|
propagatedBuildInputs = [ async base64 camlzip cfstream core rresult uri xmlm ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user