Skip to content

Commit

Permalink
libqtxdg: fix pkgconfig files
Browse files Browse the repository at this point in the history
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
(cherry picked from commit a1fec88)
  • Loading branch information
pbogdan authored and Mic92 committed Apr 4, 2018
1 parent e8982eb commit 590320e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/desktops/lxqt/base/libqtxdg/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit 590320e

Please sign in to comment.