summary refs log tree commit diff
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2022-06-22 13:35:48 +0300
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-06-22 20:44:08 +0200
commit1766a502dae8fa344baac5467783619728c58249 (patch)
tree9aee4630b65e17497f07c36827bc357b6ac81705
parent1cad1293844c9d854ea515dfffcdceefa4e400de (diff)
downloadguix-1766a502dae8fa344baac5467783619728c58249.tar.gz
gnu: sway: Switch from elogind to basu.
* gnu/packages/wm.scm (sway)[inputs]: Replace ‘elogind’ with ‘basu’.
[arguments]<#:configure-flags>: Add "-Dsd-bus-provider=basu".

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/wm.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index ecc79f73b9..0ea7641db3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1572,7 +1572,10 @@ modules for building a Wayland compositor.")
         (base32 "0j4sdbsrlvky1agacc0pcz9bwmaxjmrapjnzscbd2i0cria2fc5j"))))
     (build-system meson-build-system)
     (arguments
-     `(#:phases
+     `(;; elogind is propagated by wlroots -> libseat
+       ;; and would otherwise shadow basu.
+       #:configure-flags '("-Dsd-bus-provider=basu")
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'hardcode-paths
            (lambda* (#:key inputs #:allow-other-keys)
@@ -1587,8 +1590,8 @@ modules for building a Wayland compositor.")
                 (string-append "'" (assoc-ref inputs "scdoc")
                                "/bin/scdoc'")))
              #t)))))
-    (inputs (list cairo
-                  elogind
+    (inputs (list basu
+                  cairo
                   gdk-pixbuf
                   json-c
                   libevdev