summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorbenaryorg <binary@benary.org>2026-01-05 14:58:07 +0000
committerbenaryorg <binary@benary.org>2026-01-05 15:38:13 +0000
commitbf9ccd1a685070e5532191e34858e870d3543aa1 (patch)
treea32ef65961f6791b10f97f3350a81d9878882d29 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent9a4fa7dea74919ec7cf160c7d7c1a8451b5ed786 (diff)
nixos/cgit: handle unset `strict-export` option
The new export check mechanic introduced in #475112 does check whether or not the `strict-export` setting is set for *cgit* to catch configurations with lacking or superfluous options. This change ensures that the assert statements do not cause evaluation errors when the setting is absent. Instead the absense is handled appropriately for each assert. When the option is required to be set to a specific value it will cause the assertion to fail, thereby displaying the assertion message rather than an evaluation error. In case the option is required to be unset it may now be either null or unset, instead of failing the evaluation. As an example, prior to this commit having `checkExportOkFiles` set to false, and `strict-export` entirely unset did fail the evaluation of the assert. Now this is a valid pattern, meaning users who want to allow access to all repositories need only specify `checkExportOkFiles = false`, and can leave `strict-export` unset. Signed-off-by: benaryorg <binary@benary.org>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions