mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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:
parent
d373b9d9f3
commit
13b339fe88
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user