gnu: Go 1.11: Update to 1.11.6.
* gnu/packages/golang.scm (go-1.11): Update to 1.11.6. [arguments]: Remove the 'tarbomb-workaround' phase and inherit the 'chdir' phase.
This commit is contained in:
parent
18199da4b7
commit
bf197dcda0
1 changed files with 2 additions and 14 deletions
|
@ -226,7 +226,7 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
||||||
(package
|
(package
|
||||||
(inherit go-1.4)
|
(inherit go-1.4)
|
||||||
(name "go")
|
(name "go")
|
||||||
(version "1.11.5")
|
(version "1.11.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -234,23 +234,11 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
||||||
name version ".src.tar.gz"))
|
name version ".src.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0gllmbjvp12iszwils8id78mvjxwviwf98lh2gdkb236n4mz07mw"))))
|
"0cz1sdhxf9283p1p4jxb020pym0ncd0qlfh36r3hkv6bbm1a2vd9"))))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments go-1.4)
|
(substitute-keyword-arguments (package-arguments go-1.4)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
;; XXX Work around the Go 1.11.5 tarbomb.
|
|
||||||
;; <https://github.com/golang/go/issues/29906>
|
|
||||||
(add-after 'unpack 'tarbomb-workaround
|
|
||||||
(lambda _
|
|
||||||
(chdir "..")
|
|
||||||
(delete-file-recursively "gocache")
|
|
||||||
(delete-file-recursively "tmp")
|
|
||||||
#t))
|
|
||||||
(replace 'chdir
|
|
||||||
(lambda _
|
|
||||||
(chdir "go/src")
|
|
||||||
#t))
|
|
||||||
(replace 'prebuild
|
(replace '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"))
|
||||||
|
|
Reference in a new issue