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
1 changed files with 3 additions and 1 deletions

View File

@ -1254,7 +1254,9 @@ coverage information.")
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:tests? #f; require odoc `(#: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 #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure (replace 'configure