mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
splix: add missing printer models
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 <megoettlinger@gmail.com>
This commit is contained in:
parent
641ef3ab23
commit
b4c7ff59f1
@ -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\"" \
|
||||
|
Loading…
Reference in New Issue
Block a user