mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-11 18:23:18 +01:00
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`.
|
||
|---|---|---|
| .. | ||
| documentation | ||
| nixpkgs | ||
| assertions.nix | ||
| crashdump.nix | ||
| documentation.nix | ||
| extra-arguments.nix | ||
| ids.nix | ||
| label.nix | ||
| lib.nix | ||
| locate.nix | ||
| man-db.nix | ||
| mandoc.nix | ||
| meta.nix | ||
| nixops-autoluks.nix | ||
| nixpkgs.nix | ||
| passthru.nix | ||
| version.nix | ||
| wordlist.nix | ||