summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-11-19 23:28:17 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-12-18 22:16:50 +0100
commit5d0712638f3131ec34a1632eee3a9a9fed610cc5 (patch)
treed34b00bdc55790cfc6515a1b9c0094ec8ec68fa9
parentf880b03bcab3bbc137e37fef01da9c65e2dfd078 (diff)
downloadguix-5d0712638f3131ec34a1632eee3a9a9fed610cc5.tar.gz
gnu: ocaml-lwt-log: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lwt-log): Use dune-build-system.
-rw-r--r--gnu/packages/ocaml.scm16
1 files changed, 2 insertions, 14 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d8e50d57d7..5d941a1123 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2206,22 +2206,10 @@ locks or other synchronization primitives.")
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256 (base32
                   "1lr62j2266pbsi54xmzsfvl2z7fi7smhak7fp1ybl8hssxwi6in2"))))
-    (build-system ocaml-build-system)
+    (build-system dune-build-system)
     (arguments
      `(#:tests? #f; require lwt_ppx
-       #: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)))))
-    (native-inputs
-     `(("dune" ,dune)))
+       #:jbuild? #t))
     (propagated-inputs
      `(("lwt" ,ocaml-lwt)))
     (home-page "https://github.com/aantron/lwt_log")