summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBryan Gardiner <bog@khumba.net>2021-01-08 20:20:00 -0800
committerBryan Gardiner <bog@khumba.net>2021-01-09 17:07:30 -0800
commit60df55c9fba36891b2c76eda50d5e2c9a0731e4e (patch)
treed870abf8ada4aabd5d8cf365fd6038692485251f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent58ce91234f2e5ebdfc6023bab64115926cf37f38 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions