lilyp pushed a commit to branch gnome-team
in repository guix.
commit f48438f5e50db5dd0e5ae26ee2f0eb85a9c8221a
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Tue Oct 29 10:22:22 2024 +0100
gnu: blueprint-compiler: Fix build.
* gnu/packages/gnome.scm (blueprint-compiler)[#:phases]: Add ‘fix-tests’.
---
gnu/packages/gnome.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d98812b75c..8be3ea1b74 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3369,6 +3369,16 @@ the GNOME desktop environment.")
#~(modify-phases %standard-phases
(add-after 'glib-or-gtk-wrap 'wrap-python
(assoc-ref python:%standard-phases 'wrap))
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (with-atomic-file-replacement
+ "tests/sample_errors/deprecations.err"
+ (lambda (in out)
+ (dump-port in out)
+ (newline out)
+ (display
+ "9,3,12,signal Gtk.Window::keys-changed () is deprecated\n"
+ out)))))
(add-before 'check 'pre-check
(lambda _
(system "Xvfb :1 &")