all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Ryan Prior <rprior@protonmail.com>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 41366@debbugs.gnu.org
Subject: [bug#41366] [PATCH 4/4] gnu: Add emacs-importmagic.
Date: Sat, 23 May 2020 23:12:37 +0200	[thread overview]
Message-ID: <871rna73ui.fsf@devup.no> (raw)
In-Reply-To: <mh3HQaHZyCgMpSKMhLf1PIKfM1C87zFz3Gf9DgJT3LoIxwYw8vjC6xau5z95g2oF5wgGxA4hY1-0Tf__vLty8oohgzIIZco9UPB-oDi1Kzk=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

Ryan Prior <rprior@protonmail.com> writes:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, May 23, 2020 8:00 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
>> OOC, are you sure Python packages need to be propagated in this case?
>
> Hi Nicholas! I tried it with the python packages in "inputs" and impotmagic.el complained about not being able to find them. I'm going to be helping with maintenance of importmagic.el so maybe that's something I can fix on the package side?
>
> At present this seems to work better. I don't know yet what the difference is between inputs and propagated-inputs when it comes to Python packages so maybe somebody else might have a better answer.

The difference is that propagated-inputs will be installed to the
profile when you 'guix install emacs-importmagic'.

Propagating these will only work if the user already has 'python' in the
profile, which sets up PYTHONPATH.

For regular executables, we solve this by "wrapping" the executable with
PYTHONPATH to avoid the need for propagation.

Ideally we'd patch importmagic.el so that it automatically sets
PYTHONPATH referring to these two packages (prepending to any existing
PYTHONPATH).  I think python-shell-interpreter also should use the
absolute file name of the "python" executable so it does not have to be
installed separately.

Do you think that can work?

Thanks for chiming in Nicolas, I had completely missed those propagated
Python packages.  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-05-23 21:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 18:32 [bug#41366] [PATCH 0/4] Add Importmagic Ryan Prior via Guix-patches via
2020-05-17 18:41 ` [bug#41366] [PATCH 1/4] gnu: Add python-importmagic Ryan Prior via Guix-patches via
2020-05-17 18:41   ` [bug#41366] [PATCH 2/4] gnu: Add python-sexpdata Ryan Prior via Guix-patches via
2020-05-17 18:41   ` [bug#41366] [PATCH 3/4] gnu: Add python-epc Ryan Prior via Guix-patches via
2020-05-17 18:42   ` [bug#41366] [PATCH 4/4] gnu: Add emacs-importmagic Ryan Prior via Guix-patches via
2020-05-23 19:02     ` Marius Bakke
2020-05-23 19:27       ` Ryan Prior via Guix-patches via
2020-05-23 20:00         ` Nicolas Goaziou
2020-05-23 20:41           ` Ryan Prior via Guix-patches via
2020-05-23 21:12             ` Marius Bakke [this message]
2020-05-23 21:18               ` Ryan Prior via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rna73ui.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=41366@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=rprior@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.