From: zimoun <zimon.toutoune@gmail.com>
To: Mike Jones <mike@mjones.io>, Ricardo Wurmus <rekado@elephly.net>
Cc: Hartmut Goebel <h.goebel@crazy-compilers.com>,
"guix.rc7ys--- via" <help-guix@gnu.org>
Subject: Re: Two copies of same library in store after cleaning generations and gc
Date: Mon, 22 Aug 2022 17:49:05 +0200 [thread overview]
Message-ID: <8735do5le6.fsf@gmail.com> (raw)
In-Reply-To: <e813dc73-aa9e-4584-a35a-bd4e32e4a03c@www.fastmail.com>
Hi,
On ven., 19 août 2022 at 12:37, "Mike Jones" <mike@mjones.io> wrote:
> Presumably these aren't deduplicated due to the differing
> self-references?
Yes.
Note that this happens for only the packages with multi-outputs impacted
by grafted ones. If I am correct, using Guix 65cabb0, the number of
packages with multi-outputs is 681 (see below).
On this number, a subset will be impacted by the ~11 grafted packages.
Cheers,
simon
--8<---------------cut here---------------start------------->8---
scheme@(guix-user)> ,use(ice-9 match)
scheme@(guix-user)> ,use(gnu)
scheme@(guix-user)> ,use(guix)
scheme@(guix-user)> (length (fold-packages
(lambda (package result)
(match (package-outputs package)
((x y z ...) (cons package result))
(_ result)))
'()))
$1 = 681
scheme@(guix-user)> (length (fold-packages
(lambda (package result)
(if (package-replacement package)
(cons package result)
result))
'()))
$2 = 11
--8<---------------cut here---------------end--------------->8---
prev parent reply other threads:[~2022-08-22 18:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 11:31 Two copies of same library in store after cleaning generations and gc Mike Jones
2022-08-18 12:13 ` Hartmut Goebel
2022-08-18 20:30 ` Mike Jones
2022-08-19 6:13 ` Ricardo Wurmus
2022-08-19 9:06 ` zimoun
2022-08-19 11:37 ` Mike Jones
2022-08-22 15:49 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735do5le6.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=h.goebel@crazy-compilers.com \
--cc=help-guix@gnu.org \
--cc=mike@mjones.io \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).