diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-02-06 16:16:55 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-02-06 16:16:55 +0000 |
commit | b8675aee5470c5387e4bfe4906e4ab1e94b610b2 (patch) | |
tree | e77860fa961a07f9303d31c977253873a98d031a /src/nix-env/profiles.hh | |
parent | 73ab2ed4fd1c3cd974851be4f13e7a276ab16acf (diff) |
* In `--list-generations', show what the current generation is.
Diffstat (limited to 'src/nix-env/profiles.hh')
-rw-r--r-- | src/nix-env/profiles.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/profiles.hh b/src/nix-env/profiles.hh index f9480ed3f..2422c9f74 100644 --- a/src/nix-env/profiles.hh +++ b/src/nix-env/profiles.hh @@ -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); |