Morning!

Sughosha <[email protected]> writes:

> Hi Guix!
>
> I was thinking of reducing the closure size of Guix in general. I am inspired 
> by Alpine Linux for having dev and doc outputs (I am not sure if they call 
> them "outputs", I was using Alpine Linux some years ago). So, I think if we 
> can make at least "dev" output as one of the defaults (just now only "out" 
> exists as the default), we would be able to move a huge number of packages 
> from inputs to native-inputs, having a great reduction in the closure size.

Although, we should really work towards reducing the closure size of
packages, I'm not sure this can be addressed as you suggest. It may be
possible to do this for packages using the `gnu-build-system', but other
build-systems, such as the `cmake-build-system', do not offer the
required flexibility to reliably split the output.

For instance, we are struggling to solve this kind of problem for
ROCm[1].


[1] https://codeberg.org/guix/guix/pulls/7523


Best regards,
Sergio

Reply via email to