From 7c4d36fc645342144a9da242388f55a742e1b25d Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 12 Nov 2018 18:09:10 +0100 Subject: cups-filters: add all needed execve runtime paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise cupsd reports errors that e.g. `gs` cannot be found (provided it’s not available in the system closure PATH). --- pkgs/misc/cups/filters.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/misc/cups') diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix index bc4fec959263..9eeadda73fc8 100644 --- a/pkgs/misc/cups/filters.nix +++ b/pkgs/misc/cups/filters.nix @@ -35,8 +35,12 @@ in stdenv.mkDerivation rec { ]; configureFlags = [ + # TODO(Profpatsch): mupdf support "--with-pdftops=pdftops" "--with-pdftops-path=${poppler_utils}/bin/pdftops" + "--with-gs-path=${ghostscript}/bin/gs" + "--with-pdftocairo-path=${poppler_utils}/bin/pdftocairo" + "--with-ippfind-path=${cups}/bin/ippfind" "--enable-imagefilters" "--with-rcdir=no" "--with-shell=${stdenv.shell}" -- cgit 1.4.1