evince: add shared_mime_info dir to XDG_DATA_DIRS env variable

This commit is contained in:
José Romildo Malaquias 2016-03-26 11:02:33 -03:00
parent 5e93b6d929
commit c53a762b7e

View File

@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
sed -i 's/\(if (++n_items == \)5\(.*\)/\1${builtins.toString recentListSize}\2/' shell/ev-window.c
'';
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared_mime_info}/share")
'';
doCheck = false; # would need pythonPackages.dogTail, which is missing
meta = with stdenv.lib; {