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

* In `--list-generations', show what the current generation is.

This commit is contained in:
Eelco Dolstra 2004-02-06 16:16:55 +00:00
parent 73ab2ed4fd
commit b8675aee54
3 changed files with 30 additions and 13 deletions

View file

@ -18,7 +18,7 @@ typedef list<Generation> Generations;
/* Returns the list of currently present generations for the specified
profile, sorted by generation number. */
Generations findGenerations(Path profile);
Generations findGenerations(Path profile, int & curGen);
Path createGeneration(Path profile, Path outPath, Path drvPath);