diff options
| author | Alex James <git@alextjam.es> | 2025-02-27 12:59:13 -0600 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2025-03-02 10:08:03 +0100 |
| commit | cc6ed6d74296a7ab629d89f07975846a8aba5189 (patch) | |
| tree | 39549d90e6256ba92df6a09e464b07cc9677b537 /pkgs/development/python-modules/httpserver | |
| parent | e62392ec2f27fe0198f31f32aaad4bdfb248e54b (diff) | |
cargo: avoid using system curl on darwin (again)
Modern versions of macOS link the system-provided curl library against
the system-provided libressl library. On recent versions of macOS, the
system libressl library reads from /private/etc/ssl/openssl.cnf. As this
path is not included in the default Nix sandbox profile, applications
that use the system curl library will report a permission error [1].
PR #300521 previously addressed this for the prebuilt cargo binary used
by the bootstrap version of cargo. It appears that rustc-unwrapped,
which includes its own cargo binary, has the same issue [2]. Similarly
patch it with `install_name_tool` to replace use of the system curl
library with one from nixpkgs.
[1]: https://github.com/NixOS/nix/issues/9625
[2]: https://gist.github.com/al3xtjames/645c8be2c23021aadfe062cfc319c8c4
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
