mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-20 11:11:43 -04:00
767d80099c
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 |
||
---|---|---|
.. | ||
condition-true.nix | ||
enable-false.nix | ||
multi.nix | ||
simple.nix | ||
submodule-attrsOf-attrsOf.nix | ||
submodule-attrsOf.nix | ||
submodule.nix | ||
underscore-attributes.nix | ||
warning.nix |