mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
786b5dd07b
Since systemd has been adopted for a while now, we should switch to using it for light-locker as well. So I disabled ConsoleKit/UPower support in favor of using systemd with logind. This fixed many issues for me, and made light-locker working again. I followed the PKGBUILD of Arch's package in determining the right configure flags. See: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/light-locker
13 lines
426 B
Diff
13 lines
426 B
Diff
diff --git a/configure.ac.in b/configure.ac.in
|
|
index f7d5f5d..341bc83 100644
|
|
--- a/configure.ac.in
|
|
+++ b/configure.ac.in
|
|
@@ -424,7 +424,7 @@ AC_ARG_WITH(systemd,
|
|
[with_systemd=$withval], [with_systemd=auto])
|
|
|
|
PKG_CHECK_MODULES(SYSTEMD,
|
|
- [libsystemd-login],
|
|
+ [libsystemd],
|
|
[have_systemd=yes], [have_systemd=no])
|
|
|
|
if test "x$with_systemd" = "xauto" ; then
|