summary refs log tree commit diff
path: root/pkgs/development/libraries/polkit-qt-1
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-04-19 07:48:50 -0500
committerThomas Tuegel <ttuegel@gmail.com>2016-04-20 10:01:06 -0500
commit924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa (patch)
treecc6bf9dd339d59cb1b4b2d121c8e8538d0f83b48 /pkgs/development/libraries/polkit-qt-1
parentafef9d4b0a13ab928e62e55d579840b7831466e8 (diff)
downloadnixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar.gz
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar.bz2
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar.lz
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar.xz
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.tar.zst
nixpkgs-924c0d34e7ddc9f21ce182122e3eaf9cfea12ffa.zip
qt55.polkit-qt: set CMAKE_INSTALL_INCLUDEDIR
Diffstat (limited to 'pkgs/development/libraries/polkit-qt-1')
-rw-r--r--pkgs/development/libraries/polkit-qt-1/qt-5.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/polkit-qt-1/qt-5.nix b/pkgs/development/libraries/polkit-qt-1/qt-5.nix
index d9b2afbd801..c6e26385d44 100644
--- a/pkgs/development/libraries/polkit-qt-1/qt-5.nix
+++ b/pkgs/development/libraries/polkit-qt-1/qt-5.nix
@@ -18,12 +18,13 @@ stdenv.mkDerivation {
 
   preConfigure = ''
     cmakeFlags+=" -DCMAKE_INSTALL_LIBDIR=''${!outputLib}/lib"
+    cmakeFlags+=" -DCMAKE_INSTALL_INCLUDEDIR=''${!outputDev}/include"
   '';
 
   postFixup = ''
     # Fix library location in CMake module
     sed -i "$dev/lib/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake" \
-        -e "s,set_and_check.POLKITQT-1_LIB_DIR.*$,set_and_check(POLKITQT-1_LIB_DIR \"''${!outputLib}/lib\"),"
+        -e "s,\\(set_and_check.POLKITQT-1_LIB_DIR\\).*$,\\1 \"''${!outputLib}/lib\"),"
   '';
 
   meta = {