guix-commits
[Top][All Lists]
Advanced

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

05/14: gnu: ocaml-zed: Use INVOKE.


From: guix-commits
Subject: 05/14: gnu: ocaml-zed: Use INVOKE.
Date: Fri, 25 Jan 2019 08:02:33 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c6aaa7bed63ad39a61d7a56fd56f722f0e279ae8
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 25 13:32:04 2019 +0100

    gnu: ocaml-zed: Use INVOKE.
    
    * gnu/packages/ocaml.scm (ocaml-zed)[arguments]: Use INVOKE in build phases.
---
 gnu/packages/ocaml.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4d9487a..930697f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4348,13 +4348,12 @@ is provide a description of your project and Jbuilder 
will do the rest.")
        (modify-phases %standard-phases
          (delete 'configure)
          (replace 'build
-           (lambda* (#:key #:allow-other-keys)
-             (zero? (system* "jbuilder" "build"))))
+           (lambda _ (invoke "jbuilder" "build")))
          (delete 'check)
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (zero? (system* "jbuilder" "install" "--prefix" out))))))))
+               (invoke "jbuilder" "install" "--prefix" out)))))))
     (native-inputs
      `(("jbuilder" ,ocaml-jbuilder)))
     (propagated-inputs



reply via email to

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