hplip: hardcode ppdc path to fix #44230

the ppdc: Warning - overlapping filename can be ignored
https://bugs.launchpad.net/hplip/+bug/1756967
This commit is contained in:
Artturin 2021-06-30 23:16:37 +03:00
parent 5ef8322daa
commit 46c7445c34

View File

@ -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 \