gtksourceview: set XDG_DATA_DIRS for testing

Fixes #54894
This commit is contained in:
Will Dietz 2019-01-21 16:01:55 -06:00 committed by worldofpeace
parent 77a716fcd9
commit b3792fa893
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ in stdenv.mkDerivation rec {
doCheck = stdenv.isLinux;
checkPhase = ''
export NO_AT_BRIDGE=1
NO_AT_BRIDGE=1 \
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
make check