[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34265] [PATCH 3/9] gnu: ocaml-ppx-derivers: Fix libdir install
From: |
Gabriel Hondet |
Subject: |
[bug#34265] [PATCH 3/9] gnu: ocaml-ppx-derivers: Fix libdir install |
Date: |
Thu, 31 Jan 2019 17:28:37 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
---
gnu/packages/ocaml.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5f95591d9..946360833 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5116,7 +5116,17 @@ a more consistent API.")
"0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85"))))
(build-system dune-build-system)
(arguments
- '(#:tests? #f)) ;no tests
+ '(#:tests? #f ;no tests
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (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 "Shared @code{@@deriving} plugin registry")
(description
"Ppx_derivers is a tiny package whose sole purpose is to allow
--
2.20.1
signature.asc
Description: PGP signature
- [bug#34265] [PATCH 1/9] gnu: dune: Update to 1.6.3., Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 2/9] gnu: sexplib0: Update to 0.12-preview.120.18+252., Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 3/9] gnu: ocaml-ppx-derivers: Fix libdir install,
Gabriel Hondet <=
- [bug#34265] [PATCH 4/9] gnu: ocaml-stdio: Fix libdir install, Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 5/9] gnu: ocaml-base: Update to 0.12-preview.120.18+252., Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 6/9] gnu: ocaml-migrate-parsetree: Update to 1.2.0., Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 7/9] gnu: ocaml-compiler-libs: Fix libdir install, Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 8/9] gnu: ocaml-ppxlib: Update to 0.5.0., Gabriel Hondet, 2019/01/31
- [bug#34265] [PATCH 9/9] gnu: Add ocaml-ppx-inline-test., Gabriel Hondet, 2019/01/31