summary refs log tree commit diff
path: root/nixos/doc/manual/development/option-types.section.md
Commit message (Collapse)AuthorAge
* lib.types.package: only call toDerivation when necessaryNaïm Favier2022-03-11
| | | | | | | | | | | The current logic assumes that everything that isn't a derivation is a store path, but it can also be something that's *coercible* to a store path, like a flake input. Unnecessary uses of `lib.toDerivation` result in errors in pure evaluation mode when `builtins.storePath` is disabled. Also document what a `package` is.
* nixos/doc: improve wording in "Options Types" and "Option Declarations"Alexandru Scvortov2022-03-05
|
* lib.types: Introduce `types.optionType`Silvan Mosberger2022-03-01
| | | | | | This type correctly merges multiple option types together while also annotating them with file information. In a future commit this will be used for `_module.freeformType`
* lib/types: Introduce types.raw for unprocessed valuesSilvan Mosberger2022-02-22
|
* nixos/doc: Document types.uniqueRobert Hensing2022-01-24
|
* nixos: nixos/doc/manual/development/option-types.xml to CommonMarkBobby Rong2021-07-03