[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 13 Sep 2020 11:54:26 +0200
On Sun, 13 Sep 2020 05:12:04 -0400
Raghav Gururajan <firstname.lastname@example.org> wrote:
> > I still don't get it why python-wrapper is a *native* input in order to
> > support
> > Python plugins. That would mean the Python plugins are only used at build
> > time
> > and not used at runtime. Is that correct?
> As far as I understand, the package uses the python binary to compile a
> component, which will be used to add/remove python plugins.
I doubt it.
$ ./pre-inst-env guix gc --references `./pre-inst-env guix build profanity`
So it keeps a runtime reference to python. I suspect it just embeds a Python
interpreter. So it should probably be a regular input.
The question is whether the plugins written in Python actually work or not.
Usually they require some extra PYTHONPATH or whatever setting in order to
find stuff. Just raw Python is often not enough.
But we'll see.
Moved python-wrapper to regular input.
Pushed patchset to master.
I edited the commit messages not to include internal rationale like that that
change is the correct change (for glib-or-gtk-build-system) or whatever.
If we need that it should go in the source code as a comment--where it can
be easily seen.
Description: OpenPGP digital signature