[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix package path
From: |
Ludovic Courtès |
Subject: |
Re: guix package path |
Date: |
Wed, 21 Dec 2022 23:42:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br> skribis:
> I would like to give some feedback concerning this issue I faced.
> I found an offending package definition in my channel (but the issue is only
> present when using -L argument):
>
> (define-public gtklp
> (let ((toolchain (specification->package "clang-toolchain@10")))
> (package-with-c-toolchain gtklp-bad-tool `(("toolchain" ,toolchain)))))
>
> For instance, when using "guix build -L ... gtklp", the alternative toolchain
> did not
> get called and compilation fails because of that (toolchain must be
> clang-toolchain@10).
We don’t have enough info to be sure, but could it be that there are two
‘gtklp’ packages in your package collection, for instance because
‘gtklp-bad-tool’ is also public? ‘specification->package’ prints a
warning if it’s ambiguous.
HTH,
Ludo’.