1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/modules/misc
emilylange 2872e10333
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.
2024-04-21 18:01:26 +02:00
..
documentation nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
nixpkgs nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
assertions.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
crashdump.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
documentation.nix nixos/manual: apply cfg.warningsAreErrors to nix eval as well 2024-04-21 18:01:26 +02:00
extra-arguments.nix
ids.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
label.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
lib.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
locate.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
man-db.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mandoc.nix nixos/mandoc: add leading slash to manPath 2024-03-20 00:56:18 +01:00
meta.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
nixops-autoluks.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
nixpkgs-flake.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
nixpkgs.nix doc: link to Nixpkgs manual for global configuration options 2024-04-15 17:00:26 +02:00
passthru.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
version.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
wordlist.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00