spacefm: fix segfault by exporting shared-mime-info/share in XDG_DATA_DIRS

This commit is contained in:
Nicolas Schneider 2018-03-11 13:23:31 +01:00 committed by Jan Tojnar
parent faf094adef
commit a807035927
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
ln -s /etc/spacefm/spacefm.conf $out/etc/spacefm/spacefm.conf
'';
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk3 udev desktop-file-utils shared-mime-info intltool