Message ID | cover.1691202289.git.hako@ultrarare.space |
---|---|
Headers | show |
Series | Specify output in input label when it's not "out". | expand |
On Sat, 05 Aug 2023 10:50:32 +0800, Hilton Chain wrote: > > Hello Guix, > > Recently I found it not possible to find `(,gcc "lib") in inputs with > `this-package-input' since it has the label "gcc" and there're other "gcc"s > in the build environment. > > As we should avoid direct use on input labels, I think the solution is to > modify `add-input-label', hence the patch. > > Taking `aide' from (gnu packages admin) as an example, the current behavior is > that both `pcre:static' and `pcre' have the label "pcre", this affects > `this-package-input' and `modify-inputs': Ahh sorry, I haven't checked `lookup-input', it seems that it doesn't use input labels, so this patch only applies to `modify-inputs'.
tags 65062 moreinfo thanks On Sat, 05 Aug 2023 11:01:40 +0800, Hilton Chain wrote: > Ahh sorry, I haven't checked `lookup-input', it seems that it doesn't > use input labels, so this patch only applies to `modify-inputs'. Sorry for the noise, I have checked `lookup-input' and it uses labels, but returns unwanted result with this patch (searching for "gcc:lib" returns a "gcc"). I'll check that out.