Merge pull request #37637 from alexvorobiev/alexvorobiev-xpdf-darwin
xpdf: Don't try to wrap xpdf binary on Darwin if it wasn't requested (enableGUI = false)
This commit is contained in:
commit
adaa9d9348
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = stdenv.lib.optionalString (stdenv.isDarwin && enableGUI) ''
|
||||
wrapProgram $out/bin/xpdf \
|
||||
--set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user