mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Fix Boehm API violation
We were calling GC_INIT() after doing an allocation (in the baseEnv construction), which is not allowed.
This commit is contained in:
parent
da6b704b19
commit
726f7f7fc9
4 changed files with 48 additions and 38 deletions
|
@ -93,6 +93,7 @@ int main(int argc, char * * argv)
|
|||
{
|
||||
return handleExceptions(argv[0], [&]() {
|
||||
initNix();
|
||||
initGC();
|
||||
|
||||
Strings files, searchPath;
|
||||
bool readStdin = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue