[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70112] [PATCH 08/11] gnu: gvisor-tap-vsock: Remove references to go
From: |
Tomas Volf |
Subject: |
[bug#70112] [PATCH 08/11] gnu: gvisor-tap-vsock: Remove references to go. |
Date: |
Sun, 31 Mar 2024 20:35:05 +0200 |
This is handled automatically by go-build-system, but (obviously) not by the
gnu-build-system, so add the phase manually.
* gnu/packages/containers.scm (gvisor-tap-vsock)[arguments]<#:phases>: Add
'remove-go-references phase.
Change-Id: I5cef0bc03dfa7f219bdfec4226d0e7772401a5a5
---
gnu/packages/containers.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index faea15b8c4..992ef82d3f 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -26,6 +26,7 @@
(define-module (gnu packages containers)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix modules)
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix download)
@@ -387,6 +388,9 @@ (define-public gvisor-tap-vsock
(list
#:make-flags `(list ,(string-append "GIT_VERSION=v" version))
#:test-target "test"
+ #:imported-modules
+ (source-module-closure `(,@%gnu-build-system-modules
+ (guix build go-build-system)))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
@@ -400,7 +404,9 @@ (define-public gvisor-tap-vsock
(invoke "rm" "-r" "test")))
(replace 'install
(lambda _
- (install-file "bin/gvproxy" (string-append #$output "/bin")))))))
+ (install-file "bin/gvproxy" (string-append #$output "/bin"))))
+ (add-after 'install 'remove-go-references
+ (@@ (guix build go-build-system) remove-go-references)))))
(native-inputs (list go-1.20))
(home-page "https://github.com/containers/gvisor-tap-vsock")
(synopsis "Network stack for virtualization based on gVisor")
--
2.41.0
- [bug#70112] [PATCH 00/11] Update container tooling (podman, buildah), Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 02/11] gnu: podman: Drop obsolete comment., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 03/11] gnu: podman: Update to 5.0.0., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 05/11] gnu: passt: Update to 2024_03_20.71dd405., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 01/11] gnu: crun: Update to 1.14.4., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 04/11] gnu: conmon: Update to 2.1.10., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 06/11] gnu: Add catatonit., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 07/11] gnu: Add podman-compose., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 10/11] gnu: buildah: Update to 1.35.3., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 08/11] gnu: gvisor-tap-vsock: Remove references to go.,
Tomas Volf <=
- [bug#70112] [PATCH 11/11] gnu: buildah: Switch to gnu-build-system., Tomas Volf, 2024/03/31
- [bug#70112] [PATCH 09/11] gnu: podman: Revamp the package., Tomas Volf, 2024/03/31