gnu: dune: Fix libdir.

* gnu/packages/ocaml.scm (dune): Install libraries in site-lib.
This commit is contained in:
Julien Lepiller 2019-03-24 15:18:41 +01:00
parent a1034ea0cc
commit 8d135e3726
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -1254,7 +1254,9 @@ (define-public dune
(build-system ocaml-build-system)
(arguments
`(#:tests? #f; require odoc
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "LIBDIR=" (assoc-ref %outputs "out")
"/lib/ocaml/site-lib"))
#:phases
(modify-phases %standard-phases
(replace 'configure