Hi,

On dim., 15 sept. 2024 at 12:52, Jake <[email protected]> wrote:

> Does our input still have a label we can refer to in a package variant?  If
> the input was a package, we could refer to it by the package's name
> string.  But what about for an origin input?

Yes, the current internal for the new style works with ’package-name’ as
the label.

>          But what about for an origin input?

If there is only one ’origin’ then you can use ’_’ to refer to it.
Since that’s not handy and does not work when there is more than one,
please see patch proposal v2 [1]; still WIP and v3 should come. :-)

Cheers,
simon

1: [bug#73073] [PATCH v2 0/8] Allow origin inside inputs with "new style".
Simon Tournier <[email protected]>
Tue, 10 Sep 2024 03:27:08 +0200
id:[email protected]
https://issues.guix.gnu.org/73073
https://issues.guix.gnu.org/msgid/[email protected]
https://yhetil.org/guix/[email protected]

Reply via email to