guix-commits
[Top][All Lists]
Advanced

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

02/10: gnu: ocaml-migrate-parsetree: Use dune-build-system.


From: guix-commits
Subject: 02/10: gnu: ocaml-migrate-parsetree: Use dune-build-system.
Date: Tue, 18 Dec 2018 16:18:45 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit effc8325a5c1aa07ca6cf13e864010ea67d24898
Author: Julien Lepiller <address@hidden>
Date:   Mon Nov 19 23:28:13 2018 +0100

    gnu: ocaml-migrate-parsetree: Use dune-build-system.
    
    * gnu/packages/ocaml.scm (ocaml-migrate-parsetree): 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 7ba5a6b..ed087b7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -63,6 +63,7 @@
   #:use-module (gnu packages web-browsers)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (guix build-system dune)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system ocaml)
   #:use-module (guix download)
@@ -1564,26 +1565,13 @@ following a very simple s-expression syntax.")
               (sha256
                (base32
                 "01zjp1q4hryqaxv4apkjd868fycz2kf887r6lkb6x2a545h1lh7f"))))
-    (build-system ocaml-build-system)
+    (build-system dune-build-system)
     (arguments
      `(#:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'build
-           (lambda _
-             (invoke "jbuilder" "build" "@install")
-             #t))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "jbuilder" "install"
-                     "--prefix" (assoc-ref outputs "out"))
-             #t)))))
+       #:jbuild? #t))
     (propagated-inputs
      `(("ocamlbuild" ,ocamlbuild)
        ("ocaml-result" ,ocaml-result)))
-    (native-inputs
-     `(("dune" ,dune)))
     (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree";)
     (synopsis "OCaml parsetree convertor")
     (description "This library converts between parsetrees of different OCaml



reply via email to

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