diff options
author | Alex Vorobiev <alexander.vorobiev@gmail.com> | 2018-03-22 12:21:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 12:21:12 -0500 |
commit | 8c7883c027c7e4cecf3d2cf06283100ae6576c13 (patch) | |
tree | 130eaf60af15c6f17fb643a2d25160b4cb131794 /pkgs/applications/misc/xpdf | |
parent | d4be6b330e0a61f996aadf5a6cc1b2ad2f18c383 (diff) |
Update default.nix
Diffstat (limited to 'pkgs/applications/misc/xpdf')
-rw-r--r-- | pkgs/applications/misc/xpdf/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/xpdf/default.nix b/pkgs/applications/misc/xpdf/default.nix index 3b05c9be451fd..3cb416a5f7cb7 100644 --- a/pkgs/applications/misc/xpdf/default.nix +++ b/pkgs/applications/misc/xpdf/default.nix @@ -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} ''; |