nixpkgs/nixos/modules
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
..
config nixos/shells-environment: allow int and float in environment variables 2024-04-17 22:36:19 +02:00
hardware nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
i18n/input-method nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
image nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
installer nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
misc nixos/manual: apply cfg.warningsAreErrors to nix eval as well 2024-04-21 18:01:26 +02:00
profiles profiles/graphical:rename services.xserver.displayManager 2024-04-16 13:42:29 +02:00
programs Merge pull request #298563 from Yarny0/tsm-client-update 2024-04-18 12:09:50 +02:00
security nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
services Merge pull request #305689 from rnhmjoj/pr-fix-wpa-secrets 2024-04-21 16:07:42 +02:00
system nixos/networkd: add [Bridge] section to netdev conf 2024-04-14 15:16:44 -07:00
tasks nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
testing nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
virtualisation nixos/lxd-virtual-machine: enable CPU hotplug for x86 VMs 2024-04-18 10:36:55 -04:00
module-list.nix Merge pull request #294641 from devusb/sunshine-module 2024-04-20 21:32:50 +02:00
rename.nix treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00