masterpdfeditor: use qtbase.qtPluginPrefix #44047

This commit is contained in:
Alexandre Peyroux
2018-10-11 20:14:43 +02:00
committed by Alexandre Peyroux
parent 899b7663b0
commit 63b897a473

View File

@@ -17,8 +17,9 @@ in stdenv.mkDerivation {
dontStrip = true;
# Please remove this when #44047 is fixed
postInstall = ''
wrapProgram $out/bin/masterpdfeditor5 --prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-5.${lib.versions.minor qtbase.version}/plugins
wrapProgram $out/bin/masterpdfeditor5 --prefix QT_PLUGIN_PATH : ${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
'';
installPhase = ''