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-11-04 17:31:41 +0100
committerpennae <82953136+pennae@users.noreply.github.com>2022-12-08 17:52:52 +0100
commit0fa7b1b004788881733dc117edd7699f77384166 (patch)
tree77276bc9fa85ee65e90905d2cc28b5149a035fed /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac (diff)
lib/generators.toPretty: don't evaluate derivations
With the goal of making `toPretty` suitable for rendering option values, render derivations as `<derivation foo-1.0>` instead of `<derivation /nix/store/…-foo-1.0.drv>`. This is to avoid causing sudden evaluation errors for out-of-tree projects that have options with `default = pkgs.someUnfreePackage;` and no `defaultText`.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions