mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
60df55c9fb
HPLIP's getSystemPPDs() function relies on searching for PPDs below common FHS paths. None of these exist on NixOS, but the code assumes that at least one of the directories will be found, and crashes when it doesn't (cups_ppd_path is None and the code passes that to os.path.join). A usable PPD search path for the running system on NixOS is /var/lib/cups/path/share, so this patches the source to check this path as well. This should fix the NixOS case and keep non-NixOS cases working too. |
||
---|---|---|
.. | ||
dell-530cdn | ||
epkowa | ||
epson_201207w | ||
epson-201106w | ||
epson-alc1100 | ||
epson-escpr | ||
epson-escpr2 | ||
epson-workforce-635-nx625-series | ||
foo2zjs | ||
foomatic-filters | ||
gutenprint | ||
hplip | ||
m33-linux | ||
moltengamepad | ||
pentablet-driver | ||
postscript-lexmark | ||
sc-controller | ||
steamcontroller | ||
sundtek | ||
utsushi | ||
xboxdrv | ||
xow | ||
xwiimote |