From 00d8a4116427fb69f79e334bfbf91920a0d871d2 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sat, 13 May 2023 22:27:57 +0200 Subject: gnu: gtksourceview: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gtk.scm (gtksourceview)[#:phases]: Set “GDK_BACKEND” and “GTK_A11Y”. --- gnu/packages/gtk.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index de45eb3870..b957989689 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -616,6 +616,11 @@ printing and other features typical of a source code editor.") ;; Tests require a running X server. (system (string-append Xvfb " :1 &")) (setenv "DISPLAY" ":1") + ;; Use an X11 setup to find the display. + (setenv "GDK_BACKEND" "x11") + ;; Avoid spawning (and failing to connect to) the accessiblity + ;; bus. + (setenv "GTK_A11Y" "none") ;; For the missing /etc/machine-id. (setenv "DBUS_FATAL_WARNINGS" "0"))))))) (native-inputs -- cgit 1.4.1