diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-01 20:47:08 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-01 20:52:06 +0100 |
commit | f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3 (patch) | |
tree | 2501bf5c09108c836925aefc4674ebec0b508193 /nixos/doc/manual/default.nix | |
parent | bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896 (diff) | |
download | nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.gz nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.bz2 nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.lz nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.xz nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.zst nixpkgs-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.zip |
Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"
This reverts commit cad8957eabcbf73062226d28366fd446c15c8737. It breaks NixOps, but more importantly, such major changes to the module system really need to be reviewed.
Diffstat (limited to 'nixos/doc/manual/default.nix')
-rw-r--r-- | nixos/doc/manual/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix index ea860149736..4ce6ea1c111 100644 --- a/nixos/doc/manual/default.nix +++ b/nixos/doc/manual/default.nix @@ -1,4 +1,4 @@ -{ pkgs, options, internalModule, version, revision, extraSources ? [] }: +{ pkgs, options, version, revision, extraSources ? [] }: with pkgs; with pkgs.lib; @@ -6,10 +6,8 @@ with pkgs.lib; let # Remove invisible and internal options. - optionsList = filter (opt: opt.visible && !opt.internal) (optionAttrSetToDocList internalModule options); + optionsList = filter (opt: opt.visible && !opt.internal) (optionAttrSetToDocList options); - # INFO: Please add 'defaultText' or 'literalExample' to the option - # definition to avoid this substitution! # Replace functions by the string <function> substFunction = x: if builtins.isAttrs x then mapAttrs (name: substFunction) x |