guix-commits
[Top][All Lists]
Advanced

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

21/27: gnu: ccl: Unconditionally return #T from build phases.


From: guix-commits
Subject: 21/27: gnu: ccl: Unconditionally return #T from build phases.
Date: Fri, 25 Jan 2019 07:21:34 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7d416066cd4c0a6fb947ab9b77e87e2dbf2f5d23
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 25 12:26:51 2019 +0100

    gnu: ccl: Unconditionally return #T from build phases.
    
    * gnu/packages/lisp.scm (ccl)[arguments]: Use INVOKE and return #T from 
build
    phases.
---
 gnu/packages/lisp.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 05f325e..465454a 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -505,8 +505,9 @@ statistical profiler, a code coverage tool, and many other 
extensions.")
        (modify-phases %standard-phases
          (replace 'unpack
            (lambda* (#:key inputs #:allow-other-keys)
-             (and (zero? (system* "tar" "xzvf" (assoc-ref inputs "ccl")))
-                  (begin (chdir "ccl") #t))))
+             (invoke "tar" "xzvf" (assoc-ref inputs "ccl"))
+             (chdir "ccl")
+             #t))
          (delete 'configure)
          (add-before 'build 'pre-build
            ;; Enter the source directory for the current platform's lisp
@@ -527,7 +528,7 @@ statistical profiler, a code coverage tool, and many other 
extensions.")
              (substitute* '("Makefile")
                (("/bin/rm") "rm"))
              (setenv "CC" "gcc")
-             (zero? (system* "make" "clean"))))
+             (invoke "make" "clean")))
          ;; XXX Do we need to recompile the heap image as well for Guix?
          ;; For now just use the one we already got in the tarball.
          (replace 'install



reply via email to

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