summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-09-06 16:06:52 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-06 23:27:40 +0200
commit550f4aa682ed8014f3e32ebc65dbab8f0d208e8d (patch)
tree44dc4cb2e20825b9a78623ef4d6dd2420220a9d6 /gnu/packages/ocaml.scm
parentb60a7f049c2aa6d2d6462515e25476cf9a421427 (diff)
downloadguix-patches-550f4aa682ed8014f3e32ebc65dbab8f0d208e8d.tar
guix-patches-550f4aa682ed8014f3e32ebc65dbab8f0d208e8d.tar.gz
gnu: ocaml-ppx-variants-conv: Patch for building with ocaml-ppxlib.
The patch will make it build when building it with ocaml-ppxlib@0.23.0. * gnu/packages/patches/ocaml-ppx-variants-ppxlib-api-change.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/ocaml.scm (ocaml-ppx-variants-conv): Apply the patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b6c9559d6e..b4ec016cbe 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5340,6 +5340,10 @@ definitions.")
(uri (git-reference
(url "https://github.com/janestreet/ppx_variants_conv")
(commit (string-append "v" version))))
+ (patches
+ (search-patches
+ ;; Fix build when building with ocaml-ppxlib@0.23.0.
+ "ocaml-ppx-variants-ppxlib-api-change.patch"))
(file-name (git-file-name name version))
(sha256
(base32