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:
parent
7a02d95418
commit
40d9eb14df
5 changed files with 38 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue