guix-commits
[Top][All Lists]
Advanced

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

24/38: gnu: address@hidden: Return #t from all phases.


From: Tobias Geerinckx-Rice
Subject: 24/38: gnu: address@hidden: Return #t from all phases.
Date: Mon, 25 Jun 2018 22:24:25 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 188b88e2449da0f96aa3796068d376527526160d
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Jun 24 22:11:29 2018 +0200

    gnu: address@hidden: Return #t from all phases.
    
    * gnu/packages/golang.scm (go-1.9)[arguments]: Substitute INVOKE for
    SYSTEM*. Return #t rather than undefined from phases.
---
 gnu/packages/golang.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ec574ac..3640d76 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -344,7 +344,7 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                  (setenv "GOROOT" (dirname (getcwd)))
                  (setenv "GOROOT_FINAL" output)
                  (setenv "CGO_ENABLED" "1")
-                 (zero? (system* "sh" "all.bash")))))
+                 (invoke "sh" "all.bash"))))
 
            (replace 'install
              ;; TODO: Most of this could be factorized with Go 1.4.
@@ -375,7 +375,8 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                   '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
                     "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
 
-                 (copy-recursively "../" output))))))))
+                 (copy-recursively "../" output)
+                 #t)))))))
     (native-inputs
      `(("go" ,go-1.4)
        ,@(package-native-inputs go-1.4)))



reply via email to

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