This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 46af8f33ac gnu: awesome: Fix compatibility with [email protected].
46af8f33ac is described below

commit 46af8f33acc26fd51fffe9312d6ac5b83e738d45
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Tue Mar 17 14:39:48 2026 +0900

    gnu: awesome: Fix compatibility with [email protected].
    
    References: https://github.com/awesomeWM/awesome/pull/4022
    
    * gnu/packages/wm.scm (awesome)[source]<snippet>: Add patch for
    compatibility with [email protected].
    
    Merges guix/guix!7239
    
    Change-Id: I5d0c9081c450f071b85105a30f6b72b9aea4bb24
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/wm.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3b63ccce6a..183123b653 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2005,6 +2005,18 @@ for wlroots-based Wayland compositors.")
         #~(begin
             (use-modules (guix build utils)
                          (srfi srfi-19))
+            ;; TODO: Drop the following substitution in the next release.
+            ;; Fix compatibility with GLib 2.86:
+            ;; https://github.com/awesomeWM/awesome/pull/4022
+            (substitute* '("lib/awful/spawn.lua"
+                           "tests/_client.lua"
+                           "tests/test-spawn.lua")
+              (("local Gio = lgi.Gio" all)
+               (string-append all "\nlocal GioUnix = lgi.GioUnix"))
+              (("Gio\\.UnixInputStream")
+               "GioUnix.InputStream")
+              (("Gio\\.UnixOutputStream")
+               "GioUnix.OutputStream"))
             ;; Remove non-reproducible timestamp and use the date of
             ;; the source file instead.
             (substitute* "common/version.c"

Reply via email to