summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2022-01-31 13:09:20 +0100
committertalyz <kim.lindberger@gmail.com>2022-01-31 13:09:20 +0100
commitb65b9bf73cf49765e5802615b10c6eab7a2036a8 (patch)
tree1190f198533b80d7af3036d1d6c568b25f1c2194 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent95069d76d34b0c40d3585c579004e4221a90c22f (diff)
nixos/gitlab: Implement better script error handling
Fail scripts on pipeline errors and propagate subshell errors. If an error occurs in a subshell, including while trying to read a secret file, we want that error to propagate to the main shell context. That means we have to set the `inherit_errexit` option, which allows errors from subshells to propagate to the outer shell. Also, the subshell cannot run as part of another command, such as `export`, since that will simply ignore the subshell exit status and only respect `export`s exit status; first assigning the value to a variable and then exporting it solves issue.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions