From 6215132155e1a36629fdc5001edbf9dd53ead93f Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 30 Apr 2019 10:23:02 +0200 Subject: gnu: ocaml-camomile: Install data in the store. * gnu/packages/ocaml.scm (ocaml-camomile)[arguments]: Fix configuration to look for and install data in the store. --- gnu/packages/ocaml.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index affdff2a67..108907ca70 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2954,7 +2954,14 @@ the plugins facilitate extensibility, and the frontends serve as entry points.") `(("camlp4" ,camlp4))) (arguments `(#:build-flags (list "--profile" "realease") - #:tests? #f)) + #:test-target "camomile-test" + #:phases + (modify-phases %standard-phases + (add-before 'build 'fix-usr-share + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("Camomile/jbuild" "configure.ml") + (("/usr/share") (string-append (assoc-ref outputs "out") "/share"))) + #t))))) (synopsis "Comprehensive Unicode library") (description "Camomile is a Unicode library for OCaml. Camomile provides Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about -- cgit v1.2.3