mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
lib/modules: Finally remove deprecated types.optionSet
types.optionSet has been deprecated for almost 10 years now (0e333688ce
)! A removal was already attempted in 2019 (27982b408e
), but it was promptly reinstantiated since some third-party uses were discovered (f531ce75e4
). It's finally time to remove it for good :)
This commit is contained in:
parent
6cc306ec23
commit
96698efe0c
4 changed files with 8 additions and 40 deletions
|
@ -79,8 +79,6 @@ rec {
|
|||
visible ? null,
|
||||
# Whether the option can be set only once
|
||||
readOnly ? null,
|
||||
# Deprecated, used by types.optionSet.
|
||||
options ? null
|
||||
} @ attrs:
|
||||
attrs // { _type = "option"; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue