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.
This commit is contained in:
Julien Lepiller 2019-04-30 10:23:02 +02:00
parent aa7cdc57dc
commit 6215132155
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -2954,7 +2954,14 @@ (define-public ocaml-camomile
`(("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