Commit 5851a072 authored by Jan Tojnar's avatar Jan Tojnar
Browse files

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'.
parent ead87baa
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -86,7 +86,9 @@ stdenv.mkDerivation rec {
  checkPhase = ''
    runHook preCheck

    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