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>
This commit is contained in:
muradm 2022-06-22 13:35:48 +03:00 committed by Liliana Marie Prikler
parent 1cad129384
commit 1766a502da
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1572,7 +1572,10 @@ (define-public sway
(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 @@ (define-public sway
(string-append "'" (assoc-ref inputs "scdoc")
"/bin/scdoc'")))
#t)))))
(inputs (list cairo
elogind
(inputs (list basu
cairo
gdk-pixbuf
json-c
libevdev