Subject: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE

From: Maxime Devos <[email-masked]>
Date: Wed, 25 May 2022 16:08:25 +0200

Broken:

$ guix shell --pure inkscape -- inkscape

(crashes on start with ‘Inkscape encountered an internal error and will
close now’.)

Work-around:

$ guix shell --pure inkscape gdk-pixbuf -- inkscape

also works:

$ guix shell --pure inkscape gdk-pixbuf -- /usr/bin/env GDK_PIXBUF_MODULE_FILE=/gnu/store/[...]-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache inkscape

Looks like some wrapping is required to point GDK_PIXBUF_MODULE_FILE to an appropriate 'loaders.cache'.

Also starts in a non-pure environment without adding extra packages, but then the icons aren't found.

Greetings,
Maxime.