On 2026-05-23 at 23:27+02:00, Cayetano Santos wrote: > sam. 23 mai 2026 at 22:10, Ludovic Courtès <[email protected]> wrote: > > Andreas Enge <[email protected]> skribis: > > > (inputs (list gmp `(,gmp "dev"))) > > > > > > since I need the two outputs ("out" for libgmp.so and "dev" for gmp.h) > > > of gmp to build mpfr. > > > > We could choose to change (inputs (list gmp)) to mean: all the outputs > > of ‘gmp’ are inputs (I believe this is what Nixpkgs ended up doing). > > Would’t that imply an increase in closure size in every node of the graph ?
Only the referenced inputs are kept in the closure, so it's not really the case for headers and debugging symbols.
