guix-commits
[Top][All Lists]
Advanced

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

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


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

nckx pushed a commit to branch master
in repository guix.

commit 2a49f7ad5106778df5ef69197ca0dad4e8a16185
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Jun 24 22:09:26 2018 +0200

    gnu: address@hidden: Return #t from all phases.
    
    * gnu/packages/golang.scm (go-1.4)[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 ea6ca22..ec574ac 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -78,7 +78,8 @@
          (delete 'configure)
          (add-after 'patch-generated-file-shebangs 'chdir
            (lambda _
-             (chdir "src")))
+             (chdir "src")
+             #t))
          (add-before 'build 'prebuild
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((gcclib (string-append (assoc-ref inputs "gcc:lib") 
"/lib"))
@@ -160,7 +161,7 @@
                ;; Go 1.4's cgo will not work with binutils >= 2.27:
                ;; https://github.com/golang/go/issues/16906
                (setenv "CGO_ENABLED" "0")
-               (zero? (system* "sh" "all.bash")))))
+               (invoke "sh" "all.bash"))))
 
          (replace 'install
            (lambda* (#:key outputs inputs #:allow-other-keys)



reply via email to

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