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

* gnu/packages/golang.scm (go-1.9)[arguments]: Substitute INVOKE for
SYSTEM*. Return #t rather than undefined from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-24 22:11:29 +02:00
parent 2a49f7ad51
commit 188b88e244
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -344,7 +344,7 @@ (define-public go-1.9
(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 @@ (define-public go-1.9
'("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)))