diff options
| author | emilylange <git@emilylange.de> | 2024-04-21 16:53:29 +0200 |
|---|---|---|
| committer | emilylange <git@emilylange.de> | 2024-04-21 18:01:26 +0200 |
| commit | 2872e103333eb910cf015c36dbab5911f3630f95 (patch) | |
| tree | 262dd8cb9d6b7de40a4646881ca799d591728aaa /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 41992852aa6862dcd63681b0c0433be3818a8ea0 (diff) | |
nixos/manual: apply `cfg.warningsAreErrors` to nix eval as well
This change makes `baseOptionsJSON` (`lazy-option.json`) take
our existing `documentation.nixos.options.warningsAreErrors` option into
account to then set the `NIX_ABORT_ON_WARN` environment variable within
its build sandbox accordingly.
Given `documentation.nixos.options.warningsAreErrors` default to true,
our nixpkgs CI check that builds the NixOS manual for each PR, will now
fail when something raises a warning, e.g. as part of the `lib.mdDoc`
deprecation.
This should prevent new PRs with lib.mdDoc from getting merged.
Previously, the manual would build successfully, even if an eval warning
was raised.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
