Skip to content

Commit

Permalink
Update default.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvorobiev committed Mar 22, 2018
1 parent d4be6b3 commit 8c7883c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/misc/xpdf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}
'';
Expand Down

0 comments on commit 8c7883c

Please sign in to comment.