1
0
Fork 0
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:
Eelco Dolstra 2015-03-19 20:02:37 +01:00
parent da6b704b19
commit 726f7f7fc9
4 changed files with 48 additions and 38 deletions

View file

@ -93,6 +93,7 @@ int main(int argc, char * * argv)
{
return handleExceptions(argv[0], [&]() {
initNix();
initGC();
Strings files, searchPath;
bool readStdin = false;