me
/
guix
Archived
1
0
Fork 0

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
master
Sharlatan Hellseher 2024-06-19 22:23:00 +01:00
parent d2d5a3af3e
commit caf5cfaa0d
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 2 additions and 3 deletions

View File

@ -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