Use $NIXPKGS_CONFIG to determine whether ghostscript has cups support.
svn path=/nixpkgs/trunk/; revision=14275
This commit is contained in:
parent
0175270bf9
commit
c7e3110299
@ -9294,14 +9294,14 @@ let
|
||||
inherit fetchurl stdenv libjpeg libpng libtiff zlib x11 pkgconfig
|
||||
fontconfig cups openssl;
|
||||
x11Support = false;
|
||||
cupsSupport = true;
|
||||
cupsSupport = getPkgConfig "ghostscript" "cups" true;
|
||||
};
|
||||
|
||||
ghostscriptX = lowPrio (appendToName "with-X" (import ../misc/ghostscript {
|
||||
inherit fetchurl stdenv libjpeg libpng libtiff zlib x11 pkgconfig
|
||||
fontconfig cups openssl;
|
||||
x11Support = true;
|
||||
cupsSupport = true;
|
||||
cupsSupport = getPkgConfig "ghostscript" "cups" true;
|
||||
}));
|
||||
|
||||
gxemul = (import ../misc/gxemul) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user