summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2025-05-10 18:40:33 -0400
committerWinter <winter@winter.cafe>2025-05-11 00:39:10 -0400
commit262532f409d893e2ef187972a9ef0a32b338e498 (patch)
treec4729a934f85b3f6da7e212d4ea8eec712385bd1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentf6ddb809c4d68722048165cd74e3a2d63e0b9ecc (diff)
removeReferencesTo: unbreak when __structuredAttrs is enabled
When `__structuredAttrs` is enabled, the `remove-references-to` script ends up being built with a shebang of `#!@shell@` (among other, Darwin- specific, breakages), as `$shell` isn't defined. A small interlude: the eagle-eyed stdenv knowers reading this may be thinking to themselves, "Doesn't stdenv set `$shell` if it's not defined?" This is true... *but* consider the state of this file before this change: it had `shell` as an argument to `mkDerivation`, and arguments to `mkDerivation` get defined as *Bash variables*. So, when stdenv was checking to see if `$shell` was defined, it was looking at the *Bash variable* and not the environment variable.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions