summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-02-11 11:48:45 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-02-11 11:48:45 +0100
commitbe5597fc9d2f4fefac097d3c6e9364bedf548078 (patch)
tree4cdb1cacdf28b0ccca932029c662514227aec16e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent157f392f57ddcb3a0c8b7062dc01469c6b43fdce (diff)
buildRustCrate: remove superfluous dependency overrides
By overriding each dependency on every level of the dependency tree we are creating a lot of unnecessary instances of the same derivation Looking at the output size of `nix-instantiate --trace-function-calls -vvvv …` and the execution time I got about a 10x improvement after applying this change. It was probably good intentions that lead to these overrides but in practice no tooling (that I know of) really needs this. `carnix` and `crate2nix` are fine without those overrides. Furthermore I believe that it is the job of the tooling around `buildRustCrate` to provide a coherent set of overrides. By not enforcing all of the overrides, debug flags, verbosity, … to be the same throughout the closure we also allow consumers to override specific aspects of the crates. Some (older?) crates might need different `crateOverrides` then newer crates with the same name. Currently such situations can not (easily) be implemented with the override in-place.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions