summary refs log tree commit diff
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo@riseup.net>2019-06-09 18:10:20 +0800
committerMarius Bakke <mbakke@fastmail.com>2019-06-15 14:43:34 +0200
commitddd401d28fb09f1f8ce96f2fc24226887a812412 (patch)
tree43b2f33cc772f8b7c02bd2b0ecf8f546074a88fe
parent24087364f5267409078aec3a749e3cabe485d91b (diff)
downloadguix-ddd401d28fb09f1f8ce96f2fc24226887a812412.tar.gz
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>
-rw-r--r--gnu/packages/wm.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index eac17e0837..d5344dc31d 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -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)))