diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2022-07-17 15:21:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-17 15:21:36 +0000 |
commit | ad77f20359e50b22085dd2f2c876942e67d0608e (patch) | |
tree | 427b2797171990a41a2680ee9be77d37a8787590 /pkgs/development/ocaml-modules/cohttp/async.nix | |
parent | 0890c4aef1aa59d02122a785c67d95a510ce0ea4 (diff) | |
parent | 1b76f05512532a73edaa6b2a5d19ab32d2d43f17 (diff) | |
download | nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar.gz nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar.bz2 nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar.lz nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar.xz nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.tar.zst nixpkgs-ad77f20359e50b22085dd2f2c876942e67d0608e.zip |
Merge pull request #166033 from bcc32/js-015
ocamlPackages.janeStreet: 0.14 -> 0.15
Diffstat (limited to 'pkgs/development/ocaml-modules/cohttp/async.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/cohttp/async.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/cohttp/async.nix b/pkgs/development/ocaml-modules/cohttp/async.nix index fed31fbe495..2ad452ff6e6 100644 --- a/pkgs/development/ocaml-modules/cohttp/async.nix +++ b/pkgs/development/ocaml-modules/cohttp/async.nix @@ -1,4 +1,6 @@ { lib +, fetchpatch +, fetchurl , buildDunePackage , ppx_sexp_conv , base @@ -47,13 +49,21 @@ buildDunePackage { ipaddr ]; - doCheck = true; + # Examples don't compile with core 0.15. See https://github.com/mirage/ocaml-cohttp/pull/864. + doCheck = false; checkInputs = [ ounit mirage-crypto core ]; + # Compatibility with core 0.15. No longer needed after updating cohttp to 5.0.0. + patches = fetchpatch { + url = "https://github.com/mirage/ocaml-cohttp/commit/5a7124478ed31c6b1fa6a9a50602c2ec839083b5.patch"; + sha256 = "0i99rl8604xqwb6d0yzk9ws4dflbn0j4hv2nba2qscbqrrn22rw3"; + }; + patchFlags = "-p1 -F3"; + meta = cohttp.meta // { description = "CoHTTP implementation for the Async concurrency library"; }; |