mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
parent
5ef8322daa
commit
46c7445c34
@ -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
Block a user