mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03: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. |
||
---|---|---|
.. | ||
3.16.11.nix | ||
3.18.5.nix | ||
default.nix | ||
hplip-3.20.11-nixos-cups-ppd-search-path.patch | ||
hplip.state | ||
image-processor.patch |