guix-commits
[Top][All Lists]
Advanced

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

09/10: gnu: ocaml-camomile: Use dune-build-system.


From: guix-commits
Subject: 09/10: gnu: ocaml-camomile: Use dune-build-system.
Date: Tue, 18 Dec 2018 16:18:46 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 426e629e0c5829b0ac8987660c38eeb121f55675
Author: Julien Lepiller <address@hidden>
Date:   Mon Nov 19 23:28:20 2018 +0100

    gnu: ocaml-camomile: Use dune-build-system.
    
    * gnu/packages/ocaml.scm (ocaml-camomile): Use dune-build-system.
---
 gnu/packages/ocaml.scm | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a776266..927c1ed 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4403,23 +4403,11 @@ the plugins facilitate extensibility, and the frontends 
serve as entry points.")
               (sha256
                (base32
                 "01ssjrqz41jvrqh27jxnh9cx7ywi9b5sgsykd00i7z9nrcwhlfy2"))))
-    (build-system ocaml-build-system)
+    (build-system dune-build-system)
     (native-inputs
-     `(("camlp4" ,camlp4)
-       ("dune" ,dune)))
+     `(("camlp4" ,camlp4)))
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'build
-           (lambda _
-             (invoke "dune" "build" "@install" "--profile" "release")
-             #t))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "dune" "install"
-                     "--prefix" (assoc-ref outputs "out"))
-             #t)))
+     `(#:build-flags (list "--profile" "realease")
        #:tests? #f))
     (synopsis "Comprehensive Unicode library")
     (description "Camomile is a Unicode library for OCaml.  Camomile provides



reply via email to

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