diff --git a/doc/default.nix b/doc/default.nix index f55163d8..8e3c4d65 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -6,7 +6,7 @@ let lib = pkgs.lib; # Remove invisible and internal options. - optionsListVisible = lib.filter (opt: opt.visible && !opt.internal) (lib.optionAttrSetToDocList options); + optionsListVisible = lib.filter (opt: opt.visible && !opt.internal && opt.name != "lib") (lib.optionAttrSetToDocList options); # Replace functions by the string substFunction = x: