guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more package transformations: overrides


From: Maxim Cournoyer
Subject: Re: more package transformations: overrides
Date: Wed, 22 Mar 2023 14:09:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi Ricardo,

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Guix,
>
> when using package transformations the command line can become crowded
> very quickly.  Sometimes I would like to be able to provide a file
> containing a set of alternative packages that are used recursively in
> the package dependency graph, as some sort of override.
>
> What do you think about extending package transformations to allow for
> reading override packages from a file?  The replacements would happen by
> matching package names, so a package named “python-pytorch” in my
> overrides file would replace the original “python-pytorch” package in
> the input graph.  All these packages would be applied as overrides
> together.

Would you not be better off using a manifest in this case, using the
Guix API to apply the transformations?

-- 
Thanks,
Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]