Skip to content

Commit

Permalink
masterpdfeditor: use qtbase.qtPluginPrefix NixOS#44047
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Peyroux authored and Alexandre Peyroux committed Oct 13, 2018
1 parent 899b766 commit 63b897a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/misc/masterpdfeditor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 63b897a

Please sign in to comment.