guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: ocaml-camomile: Install data in the store.


From: guix-commits
Subject: 01/01: gnu: ocaml-camomile: Install data in the store.
Date: Tue, 30 Apr 2019 04:29:06 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 6215132155e1a36629fdc5001edbf9dd53ead93f
Author: Julien Lepiller <address@hidden>
Date:   Tue Apr 30 10:23:02 2019 +0200

    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(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index affdff2..108907c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]