mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: go-golang-org-x-sys-unix: Update to 0.0.0-1.8380141.
* gnu/packages/syncthing.scm (go-golang-org-x-sys-unix): Update to 0.0.0-1.8380141. [arguments]: Adjust the tests to the build environment.
This commit is contained in:
parent
27fbcae6d5
commit
2b4588609b
1 changed files with 12 additions and 4 deletions
|
@ -1402,8 +1402,8 @@ (define-public go-golang-org-x-net-proxy
|
||||||
(license bsd-3))))
|
(license bsd-3))))
|
||||||
|
|
||||||
(define-public go-golang-org-x-sys-unix
|
(define-public go-golang-org-x-sys-unix
|
||||||
(let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
|
(let ((commit "83801418e1b59fb1880e363299581ee543af32ca")
|
||||||
(revision "0"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "go-golang-org-x-sys-unix")
|
(name "go-golang-org-x-sys-unix")
|
||||||
(version (git-version "0.0.0" revision commit))
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
@ -1415,11 +1415,19 @@ (define-public go-golang-org-x-sys-unix
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"02967mw0nq7hp39bcf8rdbid4jgz2fn6hd1x03mmavvca03scxbh"))))
|
"0ilykaanvnzb27d42kmbr4i37hcn7hgqbx98z945gy63aa8dskji"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "golang.org/x/sys/unix"
|
`(#:import-path "golang.org/x/sys/unix"
|
||||||
#:unpack-path "golang.org/x/sys"))
|
#:unpack-path "golang.org/x/sys"
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-tests
|
||||||
|
(lambda _
|
||||||
|
(pk (getcwd))
|
||||||
|
(substitute* "src/golang.org/x/sys/unix/syscall_unix_test.go"
|
||||||
|
(("/usr/bin") "/tmp"))
|
||||||
|
#t)))))
|
||||||
(synopsis "Go support for low-level system interaction")
|
(synopsis "Go support for low-level system interaction")
|
||||||
(description "This package provides @code{unix}, which offers Go support
|
(description "This package provides @code{unix}, which offers Go support
|
||||||
for low-level interaction with the operating system.")
|
for low-level interaction with the operating system.")
|
||||||
|
|
Loading…
Reference in a new issue