summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-06-25 22:17:21 +0200
committerRobert Helgesson <robert@rycee.net>2019-07-09 00:56:24 +0200
commit06d8666a60174dd3083d1516f9f405251601f476 (patch)
tree3b1f63eaf08a373c5e4401150999245d0542365f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent13b815603077abd0bcfcf412f9fbb28df2320ff3 (diff)
firefox: allow overriding config of wrapped package
By moving the `cfg` variable into the wrapper arguments we are able to override it for an already wrapped package. For example, with this change one can have pkgs.firefox-devedition-bin.override { cfg.enableBrowserpass = true; } which would otherwise be difficult to accomplish for packages having a complicated wrapped definition in `all-packages.nix`.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions