Skip to content

Commit

Permalink
overrides: Disable fortify during build of msgspec to avoid SIGABRT d…
Browse files Browse the repository at this point in the history
…uring JSON generation
  • Loading branch information
charles-dyfis-net authored and adisbladis committed Sep 2, 2024
1 parent 7619e43 commit 0d3fad5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,11 @@ lib.composeManyExtensions [
}
);

msgspec = prev.msgspec.overridePythonAttrs (old: {
# crash during integer serialization - see https://github.com/jcrist/msgspec/issues/730
hardeningDisable = old.hardeningDisable or [] ++ [ "fortify" ];
});

munch = prev.munch.overridePythonAttrs (
old: {
# Latest version of pypi imports pkg_resources at runtime, so setuptools is needed at runtime. :(
Expand Down

0 comments on commit 0d3fad5

Please sign in to comment.