Commit ead87baa authored by Jan Tojnar's avatar Jan Tojnar
Browse files

libshumate: Fix test after gtk4 4.8.3 bump

GTK will crash during tests, likely due to refactored A11Y bus connection:

(/build/source/build/tests/marker-layer:1261): Gtk-WARNING **: 17:18:22.907: Unable to acquire session bus: Cannot spawn a message bus without a machine-id: Unable to load /nix/store/61qy7d70070djqcg135l22v18a5py758-glib-2.74.3/var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/nix/store/61qy7d70070djqcg135l22v18a5py758-glib-2.74.3/var/lib/dbus/machine-id”: No such file or directory
parent 0b714816
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
  '';