Skip to content

Commit

Permalink
qpdfview: remove placeholder usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Apr 30, 2018
1 parent 62eb285 commit 9e503e0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions pkgs/applications/misc/qpdfview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@ stdenv.mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
qmakeFlags = [
"*.pro"
"TARGET_INSTALL_PATH=${placeholder "out"}/bin"
"PLUGIN_INSTALL_PATH=${placeholder "out"}/lib/qpdfview"
"DATA_INSTALL_PATH=${placeholder "out"}/share/qpdfview"
"MANUAL_INSTALL_PATH=${placeholder "out"}/share/man/man1"
"ICON_INSTALL_PATH=${placeholder "out"}/share/icons/hicolor/scalable/apps"
"LAUNCHER_INSTALL_PATH=${placeholder "out"}/share/applications"
"APPDATA_INSTALL_PATH=${placeholder "out"}/share/appdata"
];

# TODO: revert this once placeholder is supported
preConfigure = ''
qmakeFlags="$qmakeFlags *.pro TARGET_INSTALL_PATH=$out/bin PLUGIN_INSTALL_PATH=$out/lib/qpdfview DATA_INSTALL_PATH=$out/share/qpdfview MANUAL_INSTALL_PATH=$out/share/man/man1 ICON_INSTALL_PATH=$out/share/icons/hicolor/scalable/apps LAUNCHER_INSTALL_PATH=$out/share/applications APPDATA_INSTALL_PATH=$out/share/appdata"
'';

meta = {
inherit (s) version;
Expand Down

0 comments on commit 9e503e0

Please sign in to comment.