Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nix: fix installCheckPhase crashes on Darwin
With NixOS#277471 merged, nix crashes during `installCheckPhase` because libcurl tries to call `SCDynamicStoreCopyProxies` when IPv6 is enabled. This triggers a crash due to invoking an Objective-C `+initialize` method after `fork` is called. See http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html. See also NixOS/nix#2674, which addresses the issue in nix-daemon.
- Loading branch information