diff options
| author | Sebastian Reuße <seb@schattenkopie.de> | 2022-10-24 13:36:22 +0200 |
|---|---|---|
| committer | Sebastian Reuße <seb@schattenkopie.de> | 2022-10-24 14:22:50 +0200 |
| commit | 7d84dbdf5b91439f798363559310d86b21bfa86c (patch) | |
| tree | cb8489280a37ad2ef92fb666bc623b4a2c6532e3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | bc4ce318bf6aa52031ad891675c573ce31308c8d (diff) | |
nixos/zsh: don’t be noisy when scripts are run with -u
When a script specifies the shell option “nounset” as part of the shebang (e.g.,
via “#!/usr/bin/env -S zsh -u”), our initialization scripts would produce error
messages of the form:
__ETC_FOO_SOURCED: parameter not set
These messages could probably be confusing to users when running such scripts.
By providing a fall-back in the parameter expansion, we can avoid them.
This patch does not address interactive shell start-up, where such messages may
(or may not) be less problematic.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
