me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/ocaml.scm (cubicle)[arguments]: Adjust Makefile for
changes in ocaml-num.
master
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
1 changed files with 4 additions and 1 deletions

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/")