Merge pull request #140302 from Artturin/cupsfiltersflags

This commit is contained in:
Artturi 2021-10-02 22:15:03 +03:00 committed by GitHub
commit 3a03afb7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" ];