[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/18: gnu: docker: Apply "-trimpath" flag.
From: |
guix-commits |
Subject: |
05/18: gnu: docker: Apply "-trimpath" flag. |
Date: |
Thu, 20 Jun 2024 07:55:58 -0400 (EDT) |
sharlatan pushed a commit to branch wip-go-team
in repository guix.
commit 987969e6cb828cc09157550c9d0fd9c5b3a75cb1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jun 19 22:38:00 2024 +0100
gnu: docker: Apply "-trimpath" flag.
* gnu/packages/docker.scm (docker) [arguments]:
<#:phases>: Remove 'remove-go-references phase.
Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in
'build phase.
Change-Id: Iada1a8764808d26e476ca8ca87a23061834f78be
---
gnu/packages/docker.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index b18de182fe..c033486c6a 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -547,6 +547,7 @@ runcexecutor/executor.go"
;; Our LD doesn't like the statically linked relocatable things
;; that go produces, so install the dynamic version of
;; dockerd instead.
+ (setenv "BUILDFLAGS" "-trimpath")
(invoke "hack/make.sh" "dynbinary")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
@@ -570,9 +571,7 @@ runcexecutor/executor.go"
(install-file "bundles/dynbinary-daemon/dockerd" out-bin)
(install-file (string-append
"bundles/dynbinary-daemon/dockerd-"
(getenv "VERSION"))
- out-bin))))
- (add-after 'install 'remove-go-references
- (assoc-ref go:%standard-phases 'remove-go-references)))))
+ out-bin)))))))
(inputs
(list btrfs-progs
containerd ; for containerd-shim
- 03/18: gnu: go-github-com-golang-protobuf-proto: Adjust package name., (continued)
- 03/18: gnu: go-github-com-golang-protobuf-proto: Adjust package name., guix-commits, 2024/06/20
- 06/18: gnu: nncp: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 07/18: gnu: dstask: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 08/18: gnu: Remove go-golang.org-x-sync-errgroup., guix-commits, 2024/06/20
- 09/18: gnu: Remove go-golang.org-x-sync-semaphore., guix-commits, 2024/06/20
- 10/18: gnu: go-golang-org-x-sync: Enable tests., guix-commits, 2024/06/20
- 14/18: gnu: go-golang-org-x-sys: Enable tests., guix-commits, 2024/06/20
- 16/18: gnu: go-golang-org-x-sys: Fix indentation., guix-commits, 2024/06/20
- 17/18: gnu: go-golang-org-x-crypto: Update to 0.14.0., guix-commits, 2024/06/20
- 02/18: gnu: go-github-com-golang-protobuf-proto: Update to 1.5.3., guix-commits, 2024/06/20
- 05/18: gnu: docker: Apply "-trimpath" flag.,
guix-commits <=
- 01/18: gnu: go-google-golang-org-protobuf: Update to 1.31.0., guix-commits, 2024/06/20
- 04/18: gnu: skopeo: Apply "-trimpath" flag., guix-commits, 2024/06/20
- 12/18: gnu: go-golang-org-x-sync: Fix indentation., guix-commits, 2024/06/20
- 13/18: gnu: go-golang-org-x-sync: Improve description., guix-commits, 2024/06/20
- 11/18: gnu: go-golang-org-x-sync: Update to 0.7.0., guix-commits, 2024/06/20
- 15/18: gnu: go-golang-org-x-sys: Update to 0.21.0., guix-commits, 2024/06/20
- 18/18: gnu: matterbridge: Swap to go-build-system., guix-commits, 2024/06/20