3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: cubicle: Fix build with newer ocaml-num.

* gnu/packages/ocaml.scm (cubicle)[arguments]: Adjust Makefile for
changes in ocaml-num.
This commit is contained in:
Julien Lepiller 2021-06-19 12:52:17 +02:00
parent c85ed0e758
commit 9417fae9fb
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -4728,10 +4728,13 @@ the OCaml language.")
(add-before 'configure 'fix-ocaml-num
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makefile.in"
(("nums.cma") "num.cma num_core.cma")
(("= \\$\\(FUNCTORYLIB\\)")
(string-append "= -I "
(assoc-ref inputs "ocaml-num")
"/lib/ocaml/site-lib"
"/lib/ocaml/site-lib/num/core -I "
(assoc-ref inputs "ocaml-num")
"/lib/ocaml/site-lib/num"
" $(FUNCTORYLIB)")))
#t)))))
(home-page "http://cubicle.lri.fr/")