Update default.nix
This commit is contained in:
parent
d4be6b330e
commit
8c7883c027
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
postInstall = stdenv.lib.optionalString (stdenv.isDarwin && enableGUI) ''
|
||||||
wrapProgram $out/bin/xpdf \
|
wrapProgram $out/bin/xpdf \
|
||||||
--set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}
|
--set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue