mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05: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:
parent
c85ed0e758
commit
9417fae9fb
1 changed files with 4 additions and 1 deletions
|
@ -4728,10 +4728,13 @@ (define-public cubicle
|
||||||
(add-before 'configure 'fix-ocaml-num
|
(add-before 'configure 'fix-ocaml-num
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
|
(("nums.cma") "num.cma num_core.cma")
|
||||||
(("= \\$\\(FUNCTORYLIB\\)")
|
(("= \\$\\(FUNCTORYLIB\\)")
|
||||||
(string-append "= -I "
|
(string-append "= -I "
|
||||||
(assoc-ref inputs "ocaml-num")
|
(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)")))
|
" $(FUNCTORYLIB)")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "http://cubicle.lri.fr/")
|
(home-page "http://cubicle.lri.fr/")
|
||||||
|
|
Loading…
Reference in a new issue