guix-commits
[Top][All Lists]
Advanced

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

01/14: gnu: ocaml-4.02: Use INVOKE.


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

rekado pushed a commit to branch master
in repository guix.

commit bb29e855da30ab9e9b4cbcc7249ee38f26186d0a
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 25 13:22:34 2019 +0100

    gnu: ocaml-4.02: Use INVOKE.
    
    * gnu/packages/ocaml.scm (ocaml-4.02)[arguments]: Use INVOKE in build 
phases.
---
 gnu/packages/ocaml.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c9df31a..3731b2a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -191,19 +191,18 @@ patch-/bin/sh-references: ~a: changing `\"/bin/sh\"' to 
`~a'~%"
                     (mandir (string-append out "/share/man")))
                ;; Custom configure script doesn't recognize
                ;; --prefix=<PREFIX> syntax (with equals sign).
-               (zero? (system* "./configure"
-                               "--prefix" out
-                               "--mandir" mandir)))))
+               (invoke "./configure"
+                       "--prefix" out
+                       "--mandir" mandir))))
          (replace 'build
            (lambda _
-             (zero? (system* "make" "-j" (number->string
-                                          (parallel-job-count))
-                             "world.opt"))))
+             (invoke "make" "-j" (number->string (parallel-job-count))
+                     "world.opt")))
          (delete 'check)
          (add-after 'install 'check
            (lambda _
              (with-directory-excursion "testsuite"
-               (zero? (system* "make" "all")))))
+               (invoke "make" "all"))))
          (add-before 'check 'prepare-socket-test
            (lambda _
              (format (current-error-port)



reply via email to

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