me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 3 additions and 2 deletions

View File

@ -344,7 +344,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(setenv "GOROOT" (dirname (getcwd))) (setenv "GOROOT" (dirname (getcwd)))
(setenv "GOROOT_FINAL" output) (setenv "GOROOT_FINAL" output)
(setenv "CGO_ENABLED" "1") (setenv "CGO_ENABLED" "1")
(zero? (system* "sh" "all.bash"))))) (invoke "sh" "all.bash"))))
(replace 'install (replace 'install
;; TODO: Most of this could be factorized with Go 1.4. ;; 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" '("README.md" "CONTRIBUTORS" "AUTHORS" "PATENTS"
"LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt")) "LICENSE" "VERSION" "CONTRIBUTING.md" "robots.txt"))
(copy-recursively "../" output)))))))) (copy-recursively "../" output)
#t)))))))
(native-inputs (native-inputs
`(("go" ,go-1.4) `(("go" ,go-1.4)
,@(package-native-inputs go-1.4))) ,@(package-native-inputs go-1.4)))