mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 09:43:30 +01:00
Previously the .enable option was used to encode the condition as well, which lead to some oddness: - In order to encode an assertion, one had to invert it - To disable a check, one had to mkForce it By introducing a separate .check option this is solved because: - It can be used to encode assertions - Disabling is done separately with .enable option, whose default can be overridden without a mkForce |
||
|---|---|---|
| .. | ||
| assertions.xml | ||
| building-nixos.xml | ||
| building-parts.xml | ||
| development.xml | ||
| freeform-modules.xml | ||
| importing-modules.xml | ||
| meta-attributes.xml | ||
| nixos-tests.xml | ||
| option-declarations.xml | ||
| option-def.xml | ||
| option-types.xml | ||
| releases.xml | ||
| replace-modules.xml | ||
| running-nixos-tests-interactively.xml | ||
| running-nixos-tests.xml | ||
| settings-options.xml | ||
| sources.xml | ||
| testing-installer.xml | ||
| writing-documentation.xml | ||
| writing-modules.xml | ||
| writing-nixos-tests.xml | ||