guix-commits
[Top][All Lists]
Advanced

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

11/23: gnu: scmutils: Return #t from all phases.


From: Tobias Geerinckx-Rice
Subject: 11/23: gnu: scmutils: Return #t from all phases.
Date: Wed, 27 Jun 2018 07:01:51 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b69819d8c25ac0e2989b54e998eaa63fa1ce80e0
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Jun 26 16:37:17 2018 +0200

    gnu: scmutils: Return #t from all phases.
    
    * gnu/packages/scheme.scm (scmutils)[arguments]: Substitute INVOKE for
    SYSTEM*. Return #t rather than undefined or #f from phases.
---
 gnu/packages/scheme.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index ddc4014..4d5c835 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -660,7 +660,8 @@ threads.")
                                  "| mit-scheme")))
                  (with-directory-excursion "scmutils/scmutils"
                    (and (zero? (system "mit-scheme < compile.scm"))
-                        (zero? (system make-img)))))))
+                        (zero? (system make-img))))
+                 #t)))
            (add-before 'install 'fix-directory-names
              ;; Correct directory names in the startup script.
              (lambda* (#:key inputs outputs #:allow-other-keys)
@@ -684,8 +685,8 @@ threads.")
              ;; code.
              (lambda* (#:key inputs outputs #:allow-other-keys)
                (with-directory-excursion "scmutils/scmutils"
-                 (zero? (apply system* "etags"
-                               (find-files "." "\\.scm"))))))
+                 (apply invoke "etags" (find-files "." "\\.scm")))
+               #t))
            (replace 'install
              ;; Copy files to the store.
              (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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