kdeWrapper: Fix XDG_{DATA,CONFIG}_DIRS mixup.

`.../share` directories go with `XDG_DATA_DIRS`, and `.../etc/xdg`
directories go with `XDG_CONFIG_DIRS`. These were accidentally reversed.

See https://userbase.kde.org/KDE_System_Administration/Environment_Variables#freedesktop.org_Compliance
This commit is contained in:
Scott Olson 2017-01-15 19:46:07 -08:00
parent 8366525cbf
commit 0c5966b13f

View File

@ -46,8 +46,8 @@ stdenv.mkDerivation {
makeWrapper "$drv/$t" "$out/$t" \
--argv0 '"$0"' \
--suffix PATH : "$env/bin" \
--prefix XDG_CONFIG_DIRS : "$env/share" \
--prefix XDG_DATA_DIRS : "$env/etc/xdg" \
--prefix XDG_CONFIG_DIRS : "$env/etc/xdg" \
--prefix XDG_DATA_DIRS : "$env/share" \
--set QML_IMPORT_PATH "$env/lib/qt5/imports" \
--set QML2_IMPORT_PATH "$env/lib/qt5/qml" \
--set QT_PLUGIN_PATH "$env/lib/qt5/plugins"