Hi Esteban,

Esteban Venialgo <[email protected]> skribis:

> I created a variant package of mesa with minimum dependencies called
> mesa-minimal. Now, I want that any package that has mesa as input uses
> mesa-minimal. Is there any way to achieve this? that automatically,
> any package that depends on mesa would have mesa-minimal as its input,
> instead?

You could do ‘guix shell --with-input=mesa=mesa-minimal’:

  
https://guix.gnu.org/manual/devel/en/html_node/Package-Transformation-Options.html

If you’d like to do this in Guix System, there’s a proposal that would
allow you to do this:

  https://codeberg.org/guix/guix/pulls/7968

It’s a bit late, but HTH!

Ludo’.

Reply via email to