Merge pull request #52 from jsoo1/gc-dont-gc

Set GC_DONT_GC=1.
This commit is contained in:
adisbladis 2022-04-22 13:18:11 +07:00 committed by GitHub
commit 2a491dd7fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,6 +282,9 @@ int main(int argc, char * * argv)
$NIX_PATH. */
unsetenv("NIX_PATH");
/* We are doing the garbage collection by killing forks */
setenv("GC_DONT_GC", "1", 1);
return handleExceptions(argv[0], [&]() {
initNix();
initGC();