hplip: hardcode ppdc path to fix #44230
the ppdc: Warning - overlapping filename can be ignored https://bugs.launchpad.net/hplip/+bug/1756967 (cherry picked from commit 46c7445c34fbd71118b217593b906e3e9df3caa2)
This commit is contained in:
parent
ec06d6e70f
commit
607be851e4
|
@ -102,6 +102,10 @@ python3Packages.buildPythonApplication {
|
|||
];
|
||||
|
||||
prePatch = ''
|
||||
# https://github.com/NixOS/nixpkgs/issues/44230
|
||||
substituteInPlace createPPD.sh \
|
||||
--replace ppdc "${cups}/bin/ppdc"
|
||||
|
||||
# HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
|
||||
find . -type f -exec sed -i \
|
||||
-e s,/etc/hp,$out/etc/hp,g \
|
||||
|
|
Loading…
Reference in New Issue