diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-12-24 12:21:05 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-12-24 12:21:05 +0100 |
commit | 5851a072a5bafb1c48223f57069468cf3811593f (patch) | |
tree | 712053e20d6bc7536c61b640f8aa37eb25bb78d6 /pkgs/development/libraries/gtksourceview | |
parent | ead87baa84f0b5c2ee8e7095208bd861073dea74 (diff) | |
download | nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar.gz nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar.bz2 nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar.lz nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar.xz nixlib-5851a072a5bafb1c48223f57069468cf3811593f.tar.zst nixlib-5851a072a5bafb1c48223f57069468cf3811593f.zip |
gtksourceview5: Fix test after gtk4 4.8.3 bump
GTK will crash during tests, likely due to refactored A11Y bus connection: (/build/gtksourceview-5.6.1/build/testsuite/test-vim-state:4396): Gtk-WARNING **: 11:15:49.944: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files. If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.
Diffstat (limited to 'pkgs/development/libraries/gtksourceview')
-rw-r--r-- | pkgs/development/libraries/gtksourceview/5.x.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/gtksourceview/5.x.nix b/pkgs/development/libraries/gtksourceview/5.x.nix index 97cb693e3547..d3ac8246d95e 100644 --- a/pkgs/development/libraries/gtksourceview/5.x.nix +++ b/pkgs/development/libraries/gtksourceview/5.x.nix @@ -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 ''; |