forked from mirrors/nixpkgs
ghostscript: include X by default
Currently the closure-size difference between `ghostscript` and `ghostscriptX` was ~140 vs. ~142 MB, which was wasteful, as the output itself is ~40 MB. (x86_64-linux) Also make ghostscriptX the full derivation, including CUPS support.
This commit is contained in:
parent
40cbf90861
commit
79bca40c37
|
@ -18717,12 +18717,13 @@ with pkgs;
|
|||
|
||||
gensgs = callPackage_i686 ../misc/emulators/gens-gs { };
|
||||
|
||||
ghostscript = callPackage ../misc/ghostscript {
|
||||
x11Support = false;
|
||||
ghostscript = callPackage ../misc/ghostscript rec {
|
||||
cupsSupport = config.ghostscript.cups or (!stdenv.isDarwin);
|
||||
x11Support = cupsSupport; # with CUPS, X11 only adds very little
|
||||
};
|
||||
|
||||
ghostscriptX = appendToName "with-X" (ghostscript.override {
|
||||
cupsSupport = true;
|
||||
x11Support = true;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue