mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
![]() Thank you for making this change.
Unfortunately, and I take blame for this, this change to the module
system was not reviewed and approved by the module system maintainers.
I'm supportive of this change, but extending it on the staging-next
branch is not the right place.
This commit is also here to make sure that we don't run into conflicts
or other git trouble with the staging workflow.
Review:
It looks alright, but it didn't have tests yet, and it should be
considered in a broader context where the existence of this type
creates an incentive to be used in cases where the `<attr> = false;`
case is undesirable. I'd like to complement this with an type that
has `<attr> = {};` only.
My apologies for the lack of a timely and clear review. Often we
recommend to define the type outside the module system until
approved. This commit puts us back in that state.
attrNamesToTrue was introduced in
|
||
---|---|---|
.. | ||
activation-script.section.md | ||
assertions.section.md | ||
bootspec.chapter.md | ||
building-parts.chapter.md | ||
developing-the-test-driver.chapter.md | ||
development.md | ||
etc-overlay.section.md | ||
freeform-modules.section.md | ||
importing-modules.section.md | ||
linking-nixos-tests-to-packages.section.md | ||
meta-attributes.section.md | ||
nixos-tests.chapter.md | ||
non-switchable-systems.section.md | ||
option-declarations.section.md | ||
option-def.section.md | ||
option-types.section.md | ||
replace-modules.section.md | ||
running-nixos-tests-interactively.section.md | ||
running-nixos-tests.section.md | ||
settings-options.section.md | ||
sources.chapter.md | ||
testing-hardware-features.section.md | ||
testing-installer.chapter.md | ||
unit-handling.section.md | ||
what-happens-during-a-system-switch.chapter.md | ||
writing-documentation.chapter.md | ||
writing-modules.chapter.md | ||
writing-nixos-tests.section.md |