Merge pull request from jtojnar/gtk4

This commit is contained in:
Naïm Favier 2022-12-25 00:14:26 +01:00 committed by GitHub
commit 3fa69413f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions
pkgs/development/libraries
gtksourceview
libshumate

View File

@ -86,10 +86,12 @@ stdenv.mkDerivation rec {
checkPhase = ''
runHook preCheck
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus}/share/dbus-1/session.conf \
meson test --no-rebuild --print-errorlogs
env \
XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
GTK_A11Y=none \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus}/share/dbus-1/session.conf \
meson test --no-rebuild --print-errorlogs
runHook postCheck
'';

View File

@ -61,7 +61,10 @@ stdenv.mkDerivation rec {
checkPhase = ''
runHook preCheck
HOME=$TMPDIR xvfb-run meson test --print-errorlogs
env \
HOME="$TMPDIR" \
GTK_A11Y=none \
xvfb-run meson test --print-errorlogs
runHook postCheck
'';