1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

qpdfview: find qmake files at preConfigure

This commit is contained in:
Ricardo Ardissone 2019-10-23 23:52:06 -03:00 committed by Lassulus
parent 672cd1398a
commit b4f257cd23

View file

@ -22,8 +22,12 @@ mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
preConfigure = ''
qmakeFlags+=(*.pro)
'';
qmakeFlags = [
"*.pro"
"TARGET_INSTALL_PATH=${placeholder "out"}/bin"
"PLUGIN_INSTALL_PATH=${placeholder "out"}/lib/qpdfview"
"DATA_INSTALL_PATH=${placeholder "out"}/share/qpdfview"