Hi Andreas,

>> This will enable us to write tooling like `guix manifest add pkg4`, etc.
>
> So this is where the command line comes in? Add a subcommand that edits
> these files?

Yes.

> Then I am not even sure whether they need to be in a special format.
> You mention that arbitrary Scheme code is difficult to edit, but the
> simple example with a list of packages should be easy. Or let me
> formulate a thesis: Everything that is possible to do with a not very
> expressive declarative style, should be possible to do by
> automatically editing a Scheme file, maybe starting from a template
> (using "(substitute* ...", for instance).

Like I explain with examples in a previous email, short of using an LLM,
it is not possible to edit arbitrary Scheme code reliably.

> Are people's needs not already covered by the imperative style?
>    guix package -i SOME_PACKAGE
> ?

I never use this command. Manifest files and guix shell is how I do most
of my work.

Regards,
Arun

Reply via email to