Hello! Nguyễn Gia Phong via "Development of GNU Guix and the GNU System distribution." <[email protected]> skribis:
> I am thinking of expanding the Guix package specification DSL > to support arbitrary property queries to specify package variants, > e.g. hello@2:out?foo&bar=baz. > > The most prominent use case for this is probably language implementation > or framework version like lua=5.4 or qt=5. Not only this encourages > such metadata to be present as package-properties, it's also convenient > for guix shell invocations, since there's no longer the need to guess > where the namespace's version number goes in the name: > > guix shell [email protected] lua-{lgi,penlight}?lua=5.4 > guix shell qt{base,svg}?qt=5 To be clear, are you proposing a syntax for existing package transformations? (Presumably ‘--with-input’ in the case above.) > Full disclosure, I'm maintaining a collection of bugs, which often > reveiled by sanitizers. It'd be lovely too if the buggy packages > could be referred to as something like [email protected]?asan. You might have heard of previous proposals on “parameterized packages”, which may be relevant: https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00312.html https://guix.gnu.org/en/blog/2023/parameterized-packages-for-gnu-guix/ But there’s a tension between flexibility and maintainability… Ludo’.
