mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
* When creating a new generation, also make the normal form of the
derivation (i.e., the closure store expression) a root of the garbage collector. This ensures that running `nix-collect-garbage --no-successors' is safe.
This commit is contained in:
parent
92e832348d
commit
00fe1a506f
3 changed files with 10 additions and 6 deletions
|
|
@ -28,7 +28,8 @@ typedef list<Generation> Generations;
|
|||
profile, sorted by generation number. */
|
||||
Generations findGenerations(Path profile, int & curGen);
|
||||
|
||||
Path createGeneration(Path profile, Path outPath, Path drvPath);
|
||||
Path createGeneration(Path profile, Path outPath,
|
||||
Path drvPath, Path clrPath);
|
||||
|
||||
void switchLink(Path link, Path target);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue