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: Idab669576282c81d55ec989dc1a64e87b89699eemaster
parent
d2d5a3af3e
commit
caf5cfaa0d
|
@ -2319,6 +2319,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
|
||||||
#~(list (string-append "CC=" #$(cc-for-target))
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
"PREFIX="
|
"PREFIX="
|
||||||
(string-append "DESTDIR=" #$output)
|
(string-append "DESTDIR=" #$output)
|
||||||
|
"GOGCFLAGS=-trimpath"
|
||||||
(string-append "GOMD2MAN="
|
(string-append "GOMD2MAN="
|
||||||
#$go-github-com-go-md2man "/bin/go-md2man"))
|
#$go-github-com-go-md2man "/bin/go-md2man"))
|
||||||
#:tests? #f ; The tests require Docker
|
#: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")
|
(wrap-program (string-append #$output "/bin/skopeo")
|
||||||
`("PATH" suffix
|
`("PATH" suffix
|
||||||
;; We need at least newuidmap, newgidmap and mount.
|
;; We need at least newuidmap, newgidmap and mount.
|
||||||
("/run/setuid-programs")))))
|
("/run/setuid-programs"))))))))
|
||||||
(add-after 'install 'remove-go-references
|
|
||||||
(@@ (guix build go-build-system) remove-go-references)))))
|
|
||||||
(home-page "https://github.com/containers/skopeo")
|
(home-page "https://github.com/containers/skopeo")
|
||||||
(synopsis "Interact with container images and container image registries")
|
(synopsis "Interact with container images and container image registries")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue