* Read policy files from /etc/PolicyKit/policy instead of
$out/share/PolicyKit/policy - otherwise we can't let PolicyKit find the policies of other packages (such as HAL). svn path=/nixpkgs/trunk/; revision=17438
This commit is contained in:
parent
c07380798c
commit
7638cc573e
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc"; # keep `make install' happy
|
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc"; # keep `make install' happy
|
||||||
|
|
||||||
|
# Read policy files from /etc/PolicyKit/policy instead of
|
||||||
|
# /usr/share/PolicyKit/policy. Using PACKAGE_DATA_DIR is hacky, but
|
||||||
|
# it works because it's only used in the C code for finding the
|
||||||
|
# policy directory.
|
||||||
|
NIX_CFLAGS_COMPILE = "-DPACKAGE_DATA_DIR=\"/etc\"";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.freedesktop.org/wiki/Software/PolicyKit;
|
homepage = http://www.freedesktop.org/wiki/Software/PolicyKit;
|
||||||
description = "A toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes";
|
description = "A toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user