guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] guix: refresh: Use bags.


From: Eric Bavier
Subject: Re: [PATCH] guix: refresh: Use bags.
Date: Fri, 10 Oct 2014 23:49:24 -0500
User-agent: mu4e 0.9.9.5; emacs 23.3.1

Ludovic Courtès writes:

> I’m surprised gzip, diffutils, patch, and tar are very low, even though
> they’re part of %final-inputs.  Conversely, bzip2 (also part of
> %final-inputs) is higher.
>
> Any idea?

I think this is because fold-packages only looks at packages that are
exported by a module.  Many of the packages in %final-inputs are not
exported.

While the vhash returned by (@ (gnu packages) package-dependencies)
includes dependency lists for packages in %final-inputs, guix refresh
uses find-package-by-name to get the packages that are used as lookup
keys, and find-package-by-name only returns packages that can be found
with fold-packages.  Uff da.

One, possibly ugly to implement, solution would be to merge hash entries
of packages that have the same package-full-name, since the output is
produced in that format already.

-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]