about summary refs log tree commit diff
path: root/pkgs/misc/cups
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-11-12 18:09:10 +0100
committerProfpatsch <mail@profpatsch.de>2018-11-21 12:22:46 +0100
commit7c4d36fc645342144a9da242388f55a742e1b25d (patch)
tree336c37f7f26a32086123d404e5adba79749ee04c /pkgs/misc/cups
parentf505340252a0603468059992633aa115c147766b (diff)
downloadnixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar.gz
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar.bz2
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar.lz
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar.xz
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.tar.zst
nixlib-7c4d36fc645342144a9da242388f55a742e1b25d.zip
cups-filters: add all needed execve runtime paths
Otherwise cupsd reports errors that e.g. `gs` cannot be
found (provided it’s not available in the system closure PATH).
Diffstat (limited to 'pkgs/misc/cups')
-rw-r--r--pkgs/misc/cups/filters.nix4
1 files changed, 4 insertions, 0 deletions
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}"