aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-06-19 22:23:00 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-06-29 09:37:39 +0100
commitcaf5cfaa0dc0bacd45e0406ddc30bca0e4e4eece (patch)
tree018d413a5ef5f9d8587fdeb81d523a04589614dc /gnu/packages/virtualization.scm
parentd2d5a3af3ec70757728dc379970f5cdda8bc366c (diff)
downloadguix-caf5cfaa0dc0bacd45e0406ddc30bca0e4e4eece.tar.gz
guix-caf5cfaa0dc0bacd45e0406ddc30bca0e4e4eece.zip
gnu: skopeo: Apply "-trimpath" flag.
* gnu/packages/virtualization.scm (skopeo) [arguments]: <#:make-flags>: Add "-trimpath" to replace 'remove-go-references phase. <#:phases>: Remove 'remove-go-references phase. Change-Id: Idab669576282c81d55ec989dc1a64e87b89699ee
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r--gnu/packages/virtualization.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 16c2b75510..4ff9676e79 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2319,6 +2319,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
#~(list (string-append "CC=" #$(cc-for-target))
"PREFIX="
(string-append "DESTDIR=" #$output)
+ "GOGCFLAGS=-trimpath"
(string-append "GOMD2MAN="
#$go-github-com-go-md2man "/bin/go-md2man"))
#:tests? #f ; The tests require Docker
@@ -2357,9 +2358,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
(wrap-program (string-append #$output "/bin/skopeo")
`("PATH" suffix
;; We need at least newuidmap, newgidmap and mount.
- ("/run/setuid-programs")))))
- (add-after 'install 'remove-go-references
- (@@ (guix build go-build-system) remove-go-references)))))
+ ("/run/setuid-programs"))))))))
(home-page "https://github.com/containers/skopeo")
(synopsis "Interact with container images and container image registries")
(description