summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-03-09 13:14:22 +0100
committerNaïm Favier <n@monade.li>2022-03-11 11:26:34 +0100
commit9c2266c03171dcf492b6accdb0cde0cb28e156b5 (patch)
tree224647a4a2e30e03b2580efcf6f5d0303b93916b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parenta782fa14c8c13e66e1642a310902566a804bb9dc (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions