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