nixpkgs/nixos/doc
Naïm Favier 9c2266c031
lib.types.package: only call toDerivation when necessary
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.
2022-03-11 11:26:34 +01:00
..
manual lib.types.package: only call toDerivation when necessary 2022-03-11 11:26:34 +01:00
varlistentry-fixer.rb nixos/doc/*: fix indentation 2020-11-12 14:24:00 +10:00
xmlformat.conf doc: Disable wrapping source 2019-09-18 21:17:52 +02:00