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

* Operation `--delete-generations' to delete generations of a

profile.  Arguments are either generation number, or `old' to delete
  all non-current generations.  Typical use:

  $ nix-env --delete-generations old
  $ nix-collect-garbage

* istringstream -> string2Int.
This commit is contained in:
Eelco Dolstra 2004-09-10 13:32:08 +00:00
parent c16be6ac92
commit dcc433de47
8 changed files with 100 additions and 33 deletions

View file

@ -31,6 +31,8 @@ Generations findGenerations(Path profile, int & curGen);
Path createGeneration(Path profile, Path outPath,
Path drvPath, Path clrPath);
void deleteGeneration(const Path & profile, unsigned int gen);
void switchLink(Path link, Path target);