rosenthal: noctalia-shell: Patch ‘systemd-inhibit’ references.

* modules/rosenthal/packages/wm.scm (noctalia-shell)
[arguments] <#:phases>: Patch ‘systemd-inhibit’ references.
[inputs]: Add elogind.
This commit is contained in:
Hilton Chain 2026-02-05 18:59:08 +08:00
parent a4a9c32170
commit f06cef595c
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -59,6 +59,11 @@
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-references
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "Services/Power/IdleInhibitorService.qml"
(("systemd-inhibit")
(search-input-file inputs "bin/elogind-inhibit")))))
(add-after 'install 'make-wrapper
(lambda* (#:key inputs #:allow-other-keys)
(let ((script "noctalia-shell"))
@ -108,6 +113,7 @@ exec ~a --path ~a/share/noctalia-shell \"$@\"~%"
cava
cliphist
coreutils-minimal
elogind
fastfetch
findutils
fontconfig