lilyp pushed a commit to branch gnome-team
in repository guix.
commit 2ff53b20d0abb89f54f216e555552beaaeb42302
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 0ad9d27304..808df68545 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3365,6 +3365,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 &")