diff options
author | Ricardo Ardissone <ricardo.ardissone@gmail.com> | 2019-10-23 23:52:06 -0300 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-10-25 17:07:56 +0200 |
commit | b4f257cd234179fc2e71b5f3be9668a5b8d8375f (patch) | |
tree | 2c1f8cfb46f861ad02a6ae2f8c47137c5b6f9598 | |
parent | 672cd1398ac84fb3417ad0c458ef8fcbb49f778f (diff) | |
download | nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar.gz nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar.bz2 nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar.lz nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar.xz nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.tar.zst nixpkgs-b4f257cd234179fc2e71b5f3be9668a5b8d8375f.zip |
qpdfview: find qmake files at preConfigure
-rw-r--r-- | pkgs/applications/misc/qpdfview/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/qpdfview/default.nix b/pkgs/applications/misc/qpdfview/default.nix index 81aa18c9f24..4100ab3536b 100644 --- a/pkgs/applications/misc/qpdfview/default.nix +++ b/pkgs/applications/misc/qpdfview/default.nix @@ -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" |