Hi Tobias, On Thu, 15 Oct 2020 at 02:38, Tobias Geerinckx-Rice <m...@tobias.gr> wrote:
> Well, yes, but probably not in the way you mean: they aren't > specified at all. Oh dear, nckx's responding to a question about > ‘dependencies’. Apologies to those who know what's coming. [...] > If you apply the patch below you'll see (e.g., with ‘guix size’) > that installing only knot:tools will pull in knot{:out,:lib} > without any human-made hints to that effect. Wow! Thank you for the detailed explanation. I have also been puzzled by this and my mind was still a bit foggy on the topic. Now all clear! :-) > Attached patch: > > $ guix size /gnu/store/...-knot-3.0.1-doc > total: 0.2 MiB (no references) > $ guix size /gnu/store/...-knot-3.0.1-lib > total: 145.0 MiB (self: 2.4 MiB) > $ guix size /gnu/store/...-knot-3.0.1 > total: 171.1 MiB (self: 5.2 MiB; refers to :lib) > $ guix size /gnu/store/...-knot-3.0.1-tools > total: 164.9 MiB (self: 0.4 MiB; refers to :lib) > > Old monolithic knot: > > $ guix size /gnu/store/...-knot-3.0.1 > total: 171.5 MiB (self: 8.0 MiB) These numbers are self explanatory for me. Maybe this example could go to the Cookbook? All the best, simon