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 @@ (define-public skopeo #~(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 @@ (define-public skopeo (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