all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Inkscape export errors
Date: Wed, 21 Oct 2020 17:59:57 +0200	[thread overview]
Message-ID: <87sga71sea.fsf@gnu.org> (raw)
In-Reply-To: <0t1qEcqDeRTxvIVpjTRAmSgxVQhlFHPfRBb5jaLUWANXUggAreFsmHlG4FaaBg7FkTklmAfy5GXpaMiKUyykzcV9wJ3btisunBMEE7DDlMk=@elenq.tech> (Ekaitz Zarraga's message of "Wed, 21 Oct 2020 13:56:56 +0000")

Saluton!

Ekaitz Zarraga <ekaitz@elenq.tech> skribis:

>> You would then need to include this variant of ‘inkscape’ alongside
>> ‘python’ so that ~/.guix-profile/etc/profile sets ‘PYTHONPATH’
>> accordingly.
>>
>> A better fix would be to use ‘wrap-program’ to wrap ‘inkscape’ such that
>> ‘PYTHONPATH’ always points to ‘python-lxml’. There are several examples
>> of packages that do that.
>
> Yes, kind of the same change I did on Icecat for the WebGL support.
> This is going to create a shell script that sets the environment
> variables and then call the actual binary, right?

Exactly.

> Why isn't inkscape detecting python-lxml if I can load it from the python
> shell?
> Does this mean the package's environment is being cleaned by someone else?
> Why does Thorsten's (in the thread) inkscape detect lxml and
> mine doesn't?
> Isn't this supposed to be reproducible?

Heheh.  To make sure you’re both testing the same thing, use:

  guix environment --pure --ad-hoc inkscape -- inkscape

That will avoid interference from the environment.

Ludo’.


  reply	other threads:[~2020-10-21 16:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20 12:53 Inkscape export errors Ekaitz Zarraga
2020-10-20 16:34 ` Thorsten Wilms
2020-10-20 17:51   ` Ekaitz Zarraga
2020-10-21  7:35     ` Thorsten Wilms
2020-10-21 13:03 ` Ludovic Courtès
2020-10-21 13:56   ` Ekaitz Zarraga
2020-10-21 15:59     ` Ludovic Courtès [this message]
2020-10-21 17:17       ` Ekaitz Zarraga

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=87sga71sea.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    /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.