>sam. 23 mai 2026 at 22:10, Ludovic Courtès <[email protected]> wrote:

> Andreas Enge <[email protected]> skribis:
>
>> (define-publix mpfr
>>   (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 ?

The only benefit would arise when leaf packages are installed without
unnecessary outputs.

C.

Attachment: signature.asc
Description: PGP signature

Reply via email to