gnu: go@1.4: Return #t from all phases.

* gnu/packages/golang.scm (go-1.4)[arguments]: Substitute INVOKE for
SYSTEM*. Return #t rather than undefined from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-24 22:09:26 +02:00
parent 99f6ef9ab4
commit 2a49f7ad51
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 2 deletions

View File

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