nixpkgs/pkgs/misc/drivers/hplip
Bryan Gardiner 60df55c9fb
hplip: fix hp-setup crash by adding proper NixOS PPD search path
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.
2021-01-09 17:07:30 -08:00
..
3.16.11.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
3.18.5.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
default.nix hplip: fix hp-setup crash by adding proper NixOS PPD search path 2021-01-09 17:07:30 -08:00
hplip-3.20.11-nixos-cups-ppd-search-path.patch hplip: fix hp-setup crash by adding proper NixOS PPD search path 2021-01-09 17:07:30 -08:00
hplip.state
image-processor.patch hplip: 3.19.6 -> 3.19.12 2019-12-21 07:39:09 +00:00