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 { };
|
gensgs = callPackage_i686 ../misc/emulators/gens-gs { };
|
||||||
|
|
||||||
ghostscript = callPackage ../misc/ghostscript {
|
ghostscript = callPackage ../misc/ghostscript rec {
|
||||||
x11Support = false;
|
|
||||||
cupsSupport = config.ghostscript.cups or (!stdenv.isDarwin);
|
cupsSupport = config.ghostscript.cups or (!stdenv.isDarwin);
|
||||||
|
x11Support = cupsSupport; # with CUPS, X11 only adds very little
|
||||||
};
|
};
|
||||||
|
|
||||||
ghostscriptX = appendToName "with-X" (ghostscript.override {
|
ghostscriptX = appendToName "with-X" (ghostscript.override {
|
||||||
|
cupsSupport = true;
|
||||||
x11Support = true;
|
x11Support = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user