3
0
Fork 0
forked from mirrors/nixpkgs

* Tell PolicyKit about the policies of HAL and ConsoleKit.

svn path=/nixos/trunk/; revision=17439
This commit is contained in:
Eelco Dolstra 2009-09-26 10:32:57 +00:00
parent 693e017bfe
commit d933f55e45

View file

@ -38,10 +38,18 @@ in
gid = config.ids.gids.polkituser;
};
environment.etc = singleton
{ source = conf;
target = "PolicyKit/PolicyKit.conf";
};
environment.etc =
[ { source = conf;
target = "PolicyKit/PolicyKit.conf";
}
{ source = (pkgs.buildEnv {
name = "PolicyKit-policies";
pathsToLink = [ "/share/PolicyKit/policy" ];
paths = [ pkgs.policykit pkgs.consolekit pkgs.hal ];
}) + "/share/PolicyKit/policy";
target = "PolicyKit/policy";
}
];
system.activationScripts.policyKit = fullDepEntry
''