* 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:
Eelco Dolstra 2009-08-17 00:36:48 +00:00
parent 6e89ec648c
commit cfbbeb02e1

View file

@ -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";