diff options
| author | Colin <colin@uninsane.org> | 2024-02-18 07:52:30 +0000 |
|---|---|---|
| committer | Colin <colin@uninsane.org> | 2024-12-02 23:15:54 +0000 |
| commit | 4eb10206503ed38136269701ef4823ba401926a0 (patch) | |
| tree | 7adb1425f2e7eb3e2206b83b23f82fd751aaed12 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | e6b629da2735d17d47e32626591f4d6fd3499fe7 (diff) | |
bash: define DEFAULT_LOADABLE_BUILTINS_PATH for non-FHS builds
this compile-time constant becomes the runtime value for
BASH_LOADABLES_PATH when otherwise not set. it was added in bash 4.4,
with an upstream default of:
"/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:."
(see: <https://git.savannah.gnu.org/cgit/bash.git/tree/config-top.h?h=bash-5.2#n83>)
and is documented here:
<https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#index-enable>
nixpkgs' bash already builds these loadables: this patch simply improves
the ergonomics, from:
```
bash -i
$ BASH_LOADABLES_PATH="$(dirname $(which bash))/../lib/bash"
$ enable -f realpath realpath
$ realpath ...
```
to:
```
bash -i
$ enable -f realpath realpath
$ realpath ...
```
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
