nixpkgs-suyu/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
xmlformat.conf