gnu: swayidle: Add elogind support.

* gnu/packages/wm.scm (swayidle)[arguments]: Add #:configure-flags.
  [inputs]: Add elogind.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Meiyo Peng 2019-06-09 18:10:20 +08:00 committed by Marius Bakke
parent 24087364f5
commit ddd401d28f
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -1249,7 +1249,10 @@ modules for building a Wayland compositor.")
(sha256
(base32 "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v"))))
(build-system meson-build-system)
(inputs `(("wayland" ,wayland)))
(arguments
`(#:configure-flags '("-Dlogind-provider=elogind")))
(inputs `(("elogind" ,elogind)
("wayland" ,wayland)))
(native-inputs `(("pkg-config" ,pkg-config)
("scdoc" ,scdoc)
("wayland-protocols" ,wayland-protocols)))