about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2010-05-18 16:40:17 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2010-05-18 16:40:17 +0000
commitc270663fec4fc43bc56a3b106944d7f3ca32df8d (patch)
tree8b6481f69e5a2a6d3e60ef80b4fad065581c27ad
parentcfd6e0f21be8c95f89b64e826cd60b152fc42043 (diff)
downloadnixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar.gz
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar.bz2
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar.lz
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar.xz
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.tar.zst
nixlib-c270663fec4fc43bc56a3b106944d7f3ca32df8d.zip
Move polkit-1 libexec files into libexec/polkit-1/
svn path=/nixpkgs/trunk/; revision=21842
-rw-r--r--pkgs/development/libraries/polkit/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix
index 81d35a655502..0e4b6cab6502 100644
--- a/pkgs/development/libraries/polkit/default.nix
+++ b/pkgs/development/libraries/polkit/default.nix
@@ -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 " "