lilyp pushed a commit to branch gnome-team
in repository guix.

commit 4c8dd6c9ac01be268e35bc4cfdd1638312057e4e
Author: Liliana Marie Prikler <liliana.prik...@gmail.com>
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 &")

Reply via email to