1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

nix-daemon: enable forking workaround by default

This should be relatively safe and there's still no real solution for
it.
This commit is contained in:
Daiderd Jordan 2019-02-18 23:06:50 +01:00
parent 261160e679
commit 94d2d20a5f
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -62,6 +62,8 @@ in
config.nix.envVars
{ NIX_SSL_CERT_FILE = mkDefault config.environment.variables.NIX_SSL_CERT_FILE;
TMPDIR = mkIf (cfg.tempDir != null) cfg.tempDir;
# FIXME: workaround for https://github.com/NixOS/nix/issues/2523
OBJC_DISABLE_INITIALIZE_FORK_SAFETY = "YES";
}
];
};