key-mon #11183: use $GDK_PIXBUF_MODULE_FILE with makeWrapperArgs

This is more robust, since it won't be affected when the path to
gdk-pixbuf loaders.cache changes. Thanks @domenkozar.
This commit is contained in:
Cillian de Róiste 2015-11-21 16:31:38 +01:00
parent d373b9d9f3
commit 13b339fe88

View File

@ -15,8 +15,8 @@ buildPythonPackage rec {
doCheck = false;
makeWrapperArgs = ''
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
preFixup = ''
export makeWrapperArgs="--set GDK_PIXBUF_MODULE_FILE $GDK_PIXBUF_MODULE_FILE"
'';
meta = with stdenv.lib; {