gtksourceview4: set XDG_DATA_DIRS for testing, fix build

This commit is contained in:
worldofpeace 2019-01-29 20:17:45 -05:00
parent b3792fa893
commit bb509ab087

View File

@ -32,7 +32,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