gnu: Go: Update to 1.12.15.

* gnu/packages/golang.scm (go-1.12): Update to 1.12.15.
[arguments]: Adjust the 'prebuild' phase.
This commit is contained in:
Leo Famulari 2020-01-21 22:35:38 -05:00
parent e3388d6361
commit 8a9d52c7e9
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -220,7 +220,7 @@ (define-public go-1.12
(package
(inherit go-1.4)
(name "go")
(version "1.12.13")
(version "1.12.15")
(source
(origin
(method url-fetch)
@ -228,7 +228,7 @@ (define-public go-1.12
name version ".src.tar.gz"))
(sha256
(base32
"19zmrhydd52vhdnzlhxqklzg1mnav434dcgw9wl4iajbvfwd70sk"))))
"1hw4xjywcl883dnvfbb92w85sy8n231fdri4aynj8xajgr0p9fla"))))
(arguments
(substitute-keyword-arguments (package-arguments go-1.4)
((#:phases phases)
@ -266,9 +266,6 @@ (define-public go-1.12
(("/bin/pwd") (which "pwd"))
(("/bin/sh") (which "sh")))
(substitute* "cmd/vendor/golang.org/x/sys/unix/syscall_unix_test.go"
(("/usr/bin") "/tmp"))
;; Add libgcc to runpath
(substitute* "cmd/link/internal/ld/lib.go"
(("!rpath.set") "true"))