From b4c7ff59f19fea9f75dae8a18677ee8021119b84 Mon Sep 17 00:00:00 2001 From: David Costa Date: Sat, 27 Oct 2018 14:52:26 +0100 Subject: [PATCH] splix: add missing printer models MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for ML-2160 ML-2165 ML-3310 ML-3310ND. The PPD files were not picked up by the Makefile because they were in the wrong directory of the original source. Co-authored-by: Merlin Göttlinger --- pkgs/misc/cups/drivers/splix/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/cups/drivers/splix/default.nix b/pkgs/misc/cups/drivers/splix/default.nix index 9cb9aa3ec58..012b37959d8 100644 --- a/pkgs/misc/cups/drivers/splix/default.nix +++ b/pkgs/misc/cups/drivers/splix/default.nix @@ -31,6 +31,7 @@ in stdenv.mkDerivation { }; postPatch = '' + mv -v *.ppd ppd/ substituteInPlace src/pstoqpdl.cpp \ --replace "RASTERDIR \"/\" RASTERTOQPDL" "\"$out/lib/cups/filter/rastertoqpdl\"" \ --replace "RASTERDIR" "\"${cups-filters}/lib/cups/filter\"" \