aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-03-24 15:18:41 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-03-24 15:28:15 +0100
commit8d135e37263cd157f3a37aa8ed3ab5bc5817049f (patch)
tree4dae361a972eb2937c67fd5529d779104b1fb834 /gnu/packages/ocaml.scm
parenta1034ea0ccbdbebe37104f86d43604849aafe1e9 (diff)
downloadpatches-8d135e37263cd157f3a37aa8ed3ab5bc5817049f.tar
patches-8d135e37263cd157f3a37aa8ed3ab5bc5817049f.tar.gz
gnu: dune: Fix libdir.
* gnu/packages/ocaml.scm (dune): Install libraries in site-lib.
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 395d621935..5c32c434f5 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1254,7 +1254,9 @@ coverage information.")
(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