git.iko.soy/typeable/nixpkgs
on master help sign in
cups-filters: define mutool path and localstatedir,sysconfdir
commit82b6455cc222d540c8ce7a2995c1b2d165299d69 authorArtturin <Artturin@artturin.com> dateSat 2 Oct 2021, 20:16 (5 years ago) parentbc4e52b
1 file changed+3−1
pkgs/misc/cups/filters.nix+3−1
pkgs/misc/cups/filters.nix+3−1
@@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
2525 ];
2626
2727 configureFlags = [
28− # TODO(Profpatsch): mupdf support
28+ "--with-mutool-path=${mupdf}/bin/mutool"
2929 "--with-pdftops=pdftops"
3030 "--with-pdftops-path=${poppler_utils}/bin/pdftops"
3131 "--with-gs-path=${ghostscript}/bin/gs"
@@ -35,6 +35,8 @@ in stdenv.mkDerivation rec {
3535 "--with-rcdir=no"
3636 "--with-shell=${stdenv.shell}"
3737 "--with-test-font-path=${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf"
38+ "--localstatedir=/var"
39+ "--sysconfdir=/etc"
3840 ];
3941
4042 makeFlags = [ "CUPS_SERVERBIN=$(out)/lib/cups" "CUPS_DATADIR=$(out)/share/cups" "CUPS_SERVERROOT=$(out)/etc/cups" ];