From de5e71c525f4d2db9befc9b4d3fa55fa99cf48ab Mon Sep 17 00:00:00 2001 From: Ada Stevenson Date: Mon, 13 Oct 2025 16:31:59 +0800 Subject: [PATCH] gnu: gnome-console: Fix test. * gnu/packages/gnome.scm (gnome-console): Fix test. [arguments]<#:phases>{fix-test-path-lookup}: Add phase. Change-Id: I4faab15e78f3e3ca030972dae1d4162bcb956213 Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4d6d51d586d..7e24c19e631 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5467,7 +5467,15 @@ more fun.") (build-system meson-build-system) (arguments (list #:glib-or-gtk? #t - #:configure-flags #~(list "-Dtests=true"))) + #:configure-flags #~(list "-Dtests=true") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-test-path-lookup + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "tests/test-utils.c" + (("/usr/bin/true") + (format #f "~a" (search-input-file + inputs "bin/true"))))))))) (native-inputs (list `(,glib "bin") gettext-minimal sassc