From 63b897a473bba49e0882362224def68c8bc08803 Mon Sep 17 00:00:00 2001 From: Alexandre Peyroux Date: Thu, 11 Oct 2018 20:14:43 +0200 Subject: [PATCH] masterpdfeditor: use qtbase.qtPluginPrefix #44047 --- pkgs/applications/misc/masterpdfeditor/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/masterpdfeditor/default.nix b/pkgs/applications/misc/masterpdfeditor/default.nix index c5a125e95adf..c821690e14fe 100644 --- a/pkgs/applications/misc/masterpdfeditor/default.nix +++ b/pkgs/applications/misc/masterpdfeditor/default.nix @@ -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 = ''