diff options
| author | Qyriad <qyriad@qyriad.me> | 2024-03-11 09:29:22 -0600 |
|---|---|---|
| committer | Qyriad <qyriad@qyriad.me> | 2024-03-17 09:48:43 -0600 |
| commit | 2ad2295bb3d6093b93f6a3a0617119e54e162156 (patch) | |
| tree | 6d231e623c7b149f07f04d2e08a4c2d2f5e08444 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 3988ace9ba49c3ca572a2b0c2567e24a96b8b23b (diff) | |
autoPatchelfHook: move multiline hook into a function
In NixOS/nixpkgs#290081 it came to attention that autoPatchelfHook is
one of if not the only hook in Nixpkgs that is a multiline string
expression. Almost all hooks are functions, which guard with something
like `if [ -z "${dontDoTheThing-}" ]; then ...` in the function, or
single-line strings which include that guard inline and then call the
real function, e.g. `if [ -z "${dontDoTheThing-} ]; then doTheThing; fi`.
This commit moves autoPatchelfHook to the former, which seems to be the
most common style now.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
