From 1aaf70f4d74fcdc255b62b659c5d38f80694eb12 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 11 Jan 2012 23:14:07 +0000 Subject: [PATCH] ghostscript: CUPS support is no longer enabled by default in version 9.x We must explicitly give the "--with-install-cups" option at configure time to get the gstoraster filter installed. svn path=/nixpkgs/trunk/; revision=31487 --- pkgs/misc/ghostscript/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index c29f7c4456f..bcb4614674c 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -85,7 +85,9 @@ stdenv.mkDerivation rec { makeFlagsArray=(CUPSSERVERBIN=$out/lib/cups CUPSSERVERROOT=$out/etc/cups CUPSDATA=$out/share/cups) ''; - configureFlags = if x11Support then [ "--with-x" ] else [ "--without-x" ]; + configureFlags = + (if x11Support then [ "--with-x" ] else [ "--without-x" ]) ++ + (if cupsSupport then [ "--enable-cups" "--with-install-cups" ] else [ "--disable-cups" ]); doCheck = true;