git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ocsigen_server: fix compilation
commit43eaad56762afd45798a9fcd40da7ae5ecbf779b authorsternenseemann <git@lukasepple.de> dateTue 21 Jul 2020, 23:52 (6 years ago) parenta86f411
1 file changed+7−1
pkgs/development/ocaml-modules/ocsigen-server/default.nix+7−1
pkgs/development/ocaml-modules/ocsigen-server/default.nix+7−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, which, ocaml, findlib, lwt_react, ssl, lwt_ssl
22, lwt_log, ocamlnet, ocaml_pcre, cryptokit, tyxml, xml-light, ipaddr
33, pgocaml, camlzip, ocaml_sqlite3
4−, makeWrapper
4+, makeWrapper, fetchpatch
55}:
66
77if !stdenv.lib.versionAtLeast ocaml.version "4.03"
@@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
2323 sha256 = "15qdkxcbl9c1bbn0fh9awjw0hjn7r6awcn288a9vyxln7icdbifw";
2424 };
2525
26+ # unreleased fix for Makefile typos breaking compilation
27+ patches = [ (fetchpatch {
28+ url = "https://github.com/ocsigen/ocsigenserver/commit/014aefc4e460686a361b974f16ebb7e0c993b36b.patch";
29+ sha256 = "0xda4fj8p5102lh9xmrn5mv3s0ps6yykqj3mpjf72gf4zd6fzcn7";
30+ }) ];
31+
2632 buildInputs = [ which makeWrapper ocaml findlib
2733 lwt_react pgocaml camlzip ocaml_sqlite3
2834 ];