mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
qpdfview: remove placeholder usage
This commit is contained in:
parent
62eb285a62
commit
9e503e039b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user