summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAlex James <git@alextjam.es>2024-06-16 17:35:52 -0500
committerAlex James <git@alextjam.es>2024-06-16 17:51:10 -0500
commitcae03b78b484b952422854834b7de02cb29c1e3f (patch)
treed8ac55db040561ea42d97678ed103d7d675580c4 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentb96d99b63d7fa5249643061378087b0c75a70390 (diff)
zig: fix build on Darwin with sandbox enabled
During stage 3 of compilation, Zig calls `std.zig.system.darwin.macos.detect`, which parses /System/Library/CoreServices/.SystemVersionPlatform.plist and /System/Library/CoreServices/SystemVersion.plist[^1] to determine the OS version. These paths are inaccessible when the sandbox is enabled, which causes the build to fail with `OSVersionDetectionFail`[^2]. Fix the build with the relaxed sandbox option by adding these paths to `__impureHostDeps`. [^1]: https://github.com/ziglang/zig/blob/cd62005f19ff966d2c42de4daeb9a1e4b644bf76/lib/std/zig/system/darwin/macos.zig [^2]: https://github.com/NixOS/nixpkgs/issues/287861#issuecomment-2148703491
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions