Message ID | 87womkwxx0.fsf@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#34265,1/9] gnu: dune: Update to 1.6.3. | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | Apply failed |
cbaines/applying patch | fail | Apply failed |
cbaines/applying patch | fail | Apply failed |
cbaines/applying patch | fail | Apply failed |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
cbaines/applying patch | success | Successfully applied |
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bf12cc85c..8abbbab71 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5082,7 +5082,18 @@ provided by companion libraries such as "03jds7bszh8wwpfwxb3dg0gyr1j1872wxwx1xqhry5ir0i84bg0s")))) (build-system dune-build-system) (arguments - '(#:tests? #f)) ;no tests + '(#:tests? #f ;no tests + #:phases + (modify-phases %standard-phases + (replace 'install + ;; set libdir to use ocaml-site + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "dune" "install" + (string-append "--prefix=" out) + (string-append "--libdir=" out + "/lib/ocaml/site-lib"))) + #t))))) (synopsis "Compiler libraries repackaged") (description "This packaeg simply repackages the OCaml compiler libraries so they don't expose everything at toplevel. For instance, @code{Ast_helper}