[Top][All Lists]

[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: Fri, 24 Mar 2023 08:32:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi Ricardo,

Ricardo Wurmus <> writes:

> Maxim Cournoyer <> writes:
>>> Considering that the transformations API assumes that you understand
>>> that higher order functions exist and what to do with them, I think it
>>> would be good to offer a slightly less advanced method of overriding
>>> packages.
>>> Manifests can do anything, but this also makes them rather intimidating
>>> for many of my colleagues.
>> OK; then my question would be: why stop at transformations?  Perhaps we
>> could simply have a way to feed arbitrary guix command line arguments
>> from a file, e.g.
>> guix shell --args-file=my-arguments.txt
> The transformations command line options are rather verbose:
>   --with-input=python-pytorch=python-pytorch-with-extra-features
> I think it would improve usability to be able to use the *same* names in
> an override file.  Got a package with name “python-pytorch” in that
> file?  It replaces “python-pytorch” in the graph.

It's still a bit too abstract in my mind.  Could you please provide a
skeletton of what the overrides file would look like?


reply via email to

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