libqtxdg: fix pkgconfig files

Without this change pkgconfig files contain incorrect values for libdir and
includedir in the form of:

prefix: /nix/store/...liblibqtxdg
libdir: ${prefix}//nix/store/.../libqtxdg/lib
includedir: ${prefix}//nix/store/.../libqtxdg/include
This commit is contained in:
Piotr Bogdan 2018-04-03 21:54:38 +01:00
parent 0c95dee8cb
commit a1fec88085

View File

@ -16,7 +16,11 @@ stdenv.mkDerivation rec {
buildInputs = [ qt5.qtbase qt5.qtsvg ];
preConfigure = ''
cmakeFlags+=" -DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
cmakeFlagsArray+=(
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
)
'';
meta = with stdenv.lib; {