3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc
Naïm Favier 6a117e2759 nixos/doc: render option values using lib.generators.toPretty
Render un`_type`d defaults and examples as `literalExpression`s using
`lib.generators.toPretty` so that consumers don't have to reinvent Nix
pretty-printing. `renderOptionValue` is kept internal for now intentionally.

Make `toPretty` print floats as valid Nix values (without a tilde).

Get rid of the now-obsolete `substSpecial` function.

Move towards disallowing evaluation of packages in the manual by
raising a warning on `pkgs.foo.{outPath,drvPath}`; later, this should
throw an error. Instead, module authors should use `literalExpression`
and `mkPackageOption`.
2022-12-08 17:52:52 +01:00
..
documentation
nixpkgs
assertions.nix
crashdump.nix
documentation.nix nixos/doc: render option values using lib.generators.toPretty 2022-12-08 17:52:52 +01:00
extra-arguments.nix
ids.nix automatic-timezoned: init at 1.0.41 2022-11-16 15:26:21 -08:00
label.nix
lib.nix
locate.nix
man-db.nix nixos/mandb: fix cross compiling 2022-11-22 20:13:25 +01:00
mandoc.nix
meta.nix
nixops-autoluks.nix
nixpkgs.nix nixos/nixpkgs: remove unused binding 2022-11-30 17:27:31 -05:00
passthru.nix
version.nix
wordlist.nix