summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2024-04-20 15:28:11 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2024-04-26 21:05:42 -0400
commitf9de72f24776538e7e2243f54ab46f3e3a921ab5 (patch)
tree578a9bb53d0a0804ba3d63585e46d72004740e98 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent7f14d675a7e1e2bdef3c9c1b6f83c42474715e51 (diff)
pythonCatchConflictsHook: split propagated-build-inputs on runs of whitespace
Currently, nix-support/propagated-build-inputs is parsed by splitting on a single space. This means that if this file contains multiple spaces separating two paths, the build_inputs list will end up containing an empty string. Instead, call split() with no arguments, which splits on runs of whitespace and also ignores whitespace at the beginning and end of the string, eliminating the need for strip().
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions