mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"
This reverts commit cad8957eab
. It
breaks NixOps, but more importantly, such major changes to the module
system really need to be reviewed.
This commit is contained in:
parent
bf4cafd1dd
commit
f3d94cfc23
24 changed files with 127 additions and 703 deletions
|
@ -115,8 +115,8 @@ let
|
|||
let name = head attrsNames; rest = tail attrsNames; in
|
||||
if isOption result.options then
|
||||
walkOptions rest {
|
||||
options = result.options.type.getSubOptionsPrefix "";
|
||||
opt = ''(\${result.opt}.type.getSubOptionsPrefix "")'';
|
||||
options = result.options.type.getSubOptions "";
|
||||
opt = ''(\${result.opt}.type.getSubOptions "")'';
|
||||
cfg = ''\${result.cfg}."\${name}"'';
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue