[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41406: Docker package retains Go references (was Re: Guix closure si
From: |
Leo Famulari |
Subject: |
bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?) |
Date: |
Tue, 19 May 2020 14:25:23 -0400 |
On Tue, May 19, 2020 at 08:16:41PM +0200, Danny Milosavljevic wrote:
> Hi Leo,
>
> the patch below makes the grep return nothing, but guix size still contains
> go.
What about `guix gc --references /gnu/store/...-docker`?
>
> diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
> index c95ca3f9d7..bf009a792b 100644
> --- a/gnu/packages/docker.scm
> +++ b/gnu/packages/docker.scm
> @@ -544,7 +544,9 @@ built-in registry server of Docker.")
> (install-file (string-append
> "bundles/dynbinary-daemon/dockerd-"
> (getenv "VERSION"))
> out-bin)
> - #t))))))
> + #t)))
> + (add-after 'install 'remove-go-references
> + (assoc-ref go:%standard-phases 'remove-go-references)))))
> (inputs
> `(("btrfs-progs" ,btrfs-progs)
> ("containerd" ,containerd) ; for containerd-shim
>
signature.asc
Description: PGP signature
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Leo Famulari, 2020/05/19
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Danny Milosavljevic, 2020/05/19
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?),
Leo Famulari <=
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Pierre Neidhardt, 2020/05/20
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Leo Famulari, 2020/05/20
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Marius Bakke, 2020/05/20
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Julien Lepiller, 2020/05/20
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), zimoun, 2020/05/21
- bug#41406: Docker package retains Go references (was Re: Guix closure size of a system?), Leo Famulari, 2020/05/21