1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00

* Fix the garbage collector.

This commit is contained in:
Eelco Dolstra 2003-11-22 15:58:34 +00:00
parent 7a02d95418
commit 40d9eb14df
5 changed files with 38 additions and 12 deletions

View file

@ -139,6 +139,8 @@ Path createLink(Path outPath, Path drvPath)
num++;
}
writeStringToFile(linkPath + "-src.id", drvPath);
return linkPath;
}
@ -290,7 +292,7 @@ void uninstallDerivations(EvalState & state, Strings drvNames)
installedDrvs.erase(j->second);
}
createUserEnv(state, installedDrvs);
createUserEnv(state, installedDrvs);
}