mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-30 19:54:43 +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:
parent
261160e679
commit
94d2d20a5f
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ in
|
||||||
config.nix.envVars
|
config.nix.envVars
|
||||||
{ NIX_SSL_CERT_FILE = mkDefault config.environment.variables.NIX_SSL_CERT_FILE;
|
{ NIX_SSL_CERT_FILE = mkDefault config.environment.variables.NIX_SSL_CERT_FILE;
|
||||||
TMPDIR = mkIf (cfg.tempDir != null) cfg.tempDir;
|
TMPDIR = mkIf (cfg.tempDir != null) cfg.tempDir;
|
||||||
|
# FIXME: workaround for https://github.com/NixOS/nix/issues/2523
|
||||||
|
OBJC_DISABLE_INITIALIZE_FORK_SAFETY = "YES";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue