1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Move polkit-1 libexec files into libexec/polkit-1/

svn path=/nixpkgs/trunk/; revision=21842
This commit is contained in:
Yury G. Kudryashov 2010-05-18 16:40:17 +00:00
parent cfd6e0f21b
commit c270663fec

View file

@ -6,7 +6,7 @@ let
foolVars = {
LOCALSTATE = "/var";
SYSCONF = "/etc";
LIBEXEC = "${system}/libexec";
LIBEXEC = "${system}/libexec/polkit-1";
LIB = "${system}/lib";
DATA = "${system}/share";
};
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig glib eggdbus expat pam intltool gettext
gobjectIntrospection ];
preConfigure=''
configureFlags="--libexecdir=$out/libexec/polkit-1"
'';
# Ugly hack to overwrite hardcoded directories
# TODO: investigate a proper patch which will be accepted upstream
CFLAGS = stdenv.lib.concatStringsSep " "