[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Referring to an origin input in a package variant
From: |
Simon Tournier |
Subject: |
Re: Referring to an origin input in a package variant |
Date: |
Fri, 20 Sep 2024 18:47:13 +0200 |
Hi,
On dim., 15 sept. 2024 at 12:52, Jake <jforst.mailman@gmail.com> 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 <zimon.toutoune@gmail.com>
Tue, 10 Sep 2024 03:27:08 +0200
id:cover.1725930587.git.zimon.toutoune@gmail.com
https://issues.guix.gnu.org/73073
https://issues.guix.gnu.org/msgid/cover.1725930587.git.zimon.toutoune@gmail.com
https://yhetil.org/guix/cover.1725930587.git.zimon.toutoune@gmail.com