* ConsoleKit: build the PAM connector, put state in /var, read
configuration from /etc. The latter is necessary because there is no way to override the configuration path (in particular to run-session.d) at runtime. svn path=/nixpkgs/trunk/; revision=16741
This commit is contained in:
parent
6e89ec648c
commit
cfbbeb02e1
1 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 policy_kit ];
|
||||
|
||||
configureFlags = "--enable-pam-module --with-pam-module-dir=$(out)/lib/security --localstatedir=/var --sysconfdir=/etc";
|
||||
|
||||
# Needed for pthread_cancel().
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
||||
installFlags = "sysconfdir=$(out)/etc DBUS_SYS_DIR=$(out)/etc/dbus-1/system.d"; # keep `make install' happy
|
||||
|
||||
meta = {
|
||||
homepage = http://www.freedesktop.org/wiki/Software/ConsoleKit;
|
||||
description = "A framework for defining and tracking users, login sessions, and seats";
|
||||
|
|
Loading…
Reference in a new issue