Subject: Re: bug#24188: gnucash needs gtk+ in propagated-inputs

From: Arun Isaac <[email-masked]>
Date: Wed, 10 Aug 2016 14:33:31 +0530

> The following environment variables are set which may make a difference
> here:
>
>   GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
>   GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
>   GTK_DATA_PREFIX=/run/current-system/profile

After setting XDG_DATA_DIRS with

export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"

gnucash runs successfully. I found out about this using `guix
environment --search-paths gnucash`.

How do I find out about these environment variables in general?
Shouldn't they be set in the gnucash wrapper script so that the user
does not have to set them manually?