guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/27: gnu: go-golang-org-x-sys-unix: Update to 0.0.0-1.8380141.


From: Leo Famulari
Subject: 06/27: gnu: go-golang-org-x-sys-unix: Update to 0.0.0-1.8380141.
Date: Wed, 10 Jan 2018 04:29:34 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 2b4588609b53456a30c91a0a875087207406e479
Author: Leo Famulari <address@hidden>
Date:   Sat Dec 30 16:22:49 2017 -0500

    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.
---
 gnu/packages/syncthing.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 0f524e5..7b68d69 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1402,8 +1402,8 @@ for a variety of protocols to proxy network data.")
       (license bsd-3))))
 
 (define-public go-golang-org-x-sys-unix
-  (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
-        (revision "0"))
+  (let ((commit "83801418e1b59fb1880e363299581ee543af32ca")
+        (revision "1"))
     (package
       (name "go-golang-org-x-sys-unix")
       (version (git-version "0.0.0" revision commit))
@@ -1415,11 +1415,19 @@ for a variety of protocols to proxy network data.")
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "02967mw0nq7hp39bcf8rdbid4jgz2fn6hd1x03mmavvca03scxbh"))))
+                  "0ilykaanvnzb27d42kmbr4i37hcn7hgqbx98z945gy63aa8dskji"))))
       (build-system go-build-system)
       (arguments
        `(#: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")
       (description "This package provides @code{unix}, which offers Go support
 for low-level interaction with the operating system.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]