Skip to content

Commit

Permalink
Merge pull request #194462 from trofi/ghostscript-without-xlibsWrapper
Browse files Browse the repository at this point in the history
ghostscript: use xorg.* packages directly instead of xlibsWrapper ind…
  • Loading branch information
trofi authored Oct 8, 2022
2 parents 2cacd68 + 051228c commit 790e625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/misc/ghostscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, libjpeg, libpng, libtiff, freetype, fontconfig, libpaper, jbig2dec
, libiconv, ijs, lcms2, callPackage, bash, buildPackages, openjpeg
, cupsSupport ? config.ghostscript.cups or (!stdenv.isDarwin), cups
, x11Support ? cupsSupport, xlibsWrapper # with CUPS, X11 only adds very little
, x11Support ? cupsSupport, xorg # with CUPS, X11 only adds very little
}:

let
Expand Down Expand Up @@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
libjpeg libpng libtiff freetype fontconfig libpaper jbig2dec
libiconv ijs lcms2 bash openjpeg
]
++ lib.optional x11Support xlibsWrapper
++ lib.optionals x11Support [ xorg.libICE xorg.libX11 xorg.libXext xorg.libXt ]
++ lib.optional cupsSupport cups
;

Expand Down

0 comments on commit 790e625

Please sign in to comment.