mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
Merge pull request #283182 from jfroche/fix/nix-darwin-initialize-fork-safety
nix: fix installCheckPhase crashes on Darwin
This commit is contained in:
commit
f435abd55e
@ -216,7 +216,7 @@ self = stdenv.mkDerivation {
|
||||
# Prevent crashes in libcurl due to invoking Objective-C `+initialize` methods after `fork`.
|
||||
# See http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html.
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=yes
|
||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
''
|
||||
# See https://github.com/NixOS/nix/issues/5687
|
||||
+ lib.optionalString (atLeast25 && stdenv.isDarwin) ''
|
||||
|
Loading…
Reference in New Issue
Block a user