mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
2a49f7ad51
commit
188b88e244
1 changed files with 3 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue