From 82b6455cc222d540c8ce7a2995c1b2d165299d69 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 2 Oct 2021 20:16:33 +0300 Subject: [PATCH] cups-filters: define mutool path and localstatedir,sysconfdir --- pkgs/misc/cups/filters.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix index 911892cb728e..98f5880f8995 100644 --- a/pkgs/misc/cups/filters.nix +++ b/pkgs/misc/cups/filters.nix @@ -25,7 +25,7 @@ in stdenv.mkDerivation rec { ]; configureFlags = [ - # TODO(Profpatsch): mupdf support + "--with-mutool-path=${mupdf}/bin/mutool" "--with-pdftops=pdftops" "--with-pdftops-path=${poppler_utils}/bin/pdftops" "--with-gs-path=${ghostscript}/bin/gs" @@ -35,6 +35,8 @@ in stdenv.mkDerivation rec { "--with-rcdir=no" "--with-shell=${stdenv.shell}" "--with-test-font-path=${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf" + "--localstatedir=/var" + "--sysconfdir=/etc" ]; makeFlags = [ "CUPS_SERVERBIN=$(out)/lib/cups" "CUPS_DATADIR=$(out)/share/cups" "CUPS_SERVERROOT=$(out)/etc/cups" ];