summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-02-08 11:11:42 +0100
committerWolfgang Walther <walther@technowledgy.de>2025-02-10 19:19:59 +0100
commit2e43b87c62a2c2f179293ec3645a3688fc1e34a0 (patch)
tree406b32d61ea9f4803118b67b7ca528d3af87628a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentdfd366680e5dbfb97c454ae6b07fca3737a5bc7e (diff)
replaceVars: fail when exemption can't be found
This also changes stdenv's substitute --replace-fail to error out when the replacement is the same as the search pattern, but can't be found. This should not cause any problems in existing code, from what I can tell from grepping nixpkgs. The exception for pattern==replacement was previously introduced all the way back in 5ff872aa24983cf3e1cf28bb990042846c1a97ee, but this was apparently only used to make the check for the warning "simpler".
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions