summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2024-02-03 13:18:59 -0500
committerRandy Eckenrode <randy@largeandhighquality.com>2024-03-29 10:03:08 -0400
commitf61e189ad369d873d247a6db01370732b4f6bf39 (patch)
treec31971c039215f5ef8594add5016dfc027a94325 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent1f231173a5897d030fbd01c31741d0e885dba0fe (diff)
overrideSDK: support all deps attributes
This is effectively a rewrite of `overrideSDK`. It was required because `wrapGAppsHook` propagates `depsTargetTarget` with the expectation that it will effectively be `buildInputs` when the hook is itself used as a `nativeBuildInput`. This propagates Gtk, which itself propagates the default Dariwn SDK, making it effectively impossible to override the SDK when a package depends on Gtk and uses `wrapGAppsHook`. This rewrite implements the following improvements: * Cross-compilation should be supported correctly (untested); * Supports public and private frameworks; * Supports SDK `libs`; * Remaps instead of replacing extra (native) build inputs in the stdenv; * Updates any Darwin framework references in `nix-support`; and * It updates `xcodebuild` regardless of which input its in. The implementation avoids recursion for performance reasons. Instead, it enumerates transitive dependencies and walks the list from the leaf packages backwards to the parent packages.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions