guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit de5e71c525f4d2db9befc9b4d3fa55fa99cf48ab
Author: Ada Stevenson <[email protected]>
AuthorDate: Mon Oct 13 16:31:59 2025 +0800
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 <[email protected]>
---
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 4d6d51d586..7e24c19e63 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