summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2025-05-27 22:57:03 +0200
committerAndreas Enge <andreas@enge.fr>2025-06-02 13:36:36 +0200
commitff61f2f3c9cc99f0ce16ccc8fc6bcc799a34d7a0 (patch)
tree6ebc4488eb77810a3a952b13dca9f39195d5dbce
parent7dc1a99dc0a166803d61c96d11e3534d988e9db2 (diff)
gnu: gvisor-tap-vsock: Update to 0.8.6.
* gnu/packages/containers.scm (gvisor-tap-vsock): Update to 0.8.6. [arguments]<#:phases>{'prune-tests}: Adjust. [native-inputs]: Use go-1.23. Change-Id: Ia591a145c519b4f0cdfcd20a76ccdb625c097676 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/containers.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index 270874c367..368f8332df 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -391,7 +391,7 @@ configure network interfaces in Linux containers.")
(define-public gvisor-tap-vsock
(package
(name "gvisor-tap-vsock")
- (version "0.7.3")
+ (version "0.8.6")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -400,7 +400,7 @@ configure network interfaces in Linux containers.")
(file-name (git-file-name name version))
(sha256
(base32
- "1q1zism0c63k2aq6yhkjqc3b2zsm4lwn0bk39p2kl79h798wfyp4"))))
+ "18pwpw3dap42mpv5a1ciq6fh0y8ya5ix7r38bi8i1xc7dxcy3jdj"))))
(build-system gnu-build-system)
(arguments
(list
@@ -422,11 +422,19 @@ configure network interfaces in Linux containers.")
(add-before 'check 'prune-tests
(lambda _
;; Requires internet connection to fetch QEMU image.
- (invoke "rm" "-r" "test")))
+ (invoke "rm" "-r" "test-qemu")
+ ;; Requires working DNS.
+ (substitute* "pkg/services/dns/dns_test.go"
+ (("Should pass DNS requests to default system DNS.*" all)
+ (string-append all "\n" "ginkgo.Skip(\"No network.\");"))
+ (("\"redhat.com\",")
+ "\"localhost\",")
+ (("\"52.200.142.250\"")
+ "\"127.0.0.1\""))))
(replace 'install
(lambda _
(install-file "bin/gvproxy" (string-append #$output "/bin")))))))
- (native-inputs (list go-1.20))
+ (native-inputs (list go-1.23))
(home-page "https://github.com/containers/gvisor-tap-vsock")
(synopsis "Network stack for virtualization based on gVisor")
(description "This package provides a replacement for @code{libslirp} and