aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/profiles.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-02-06 16:16:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-02-06 16:16:55 +0000
commitb8675aee5470c5387e4bfe4906e4ab1e94b610b2 (patch)
treee77860fa961a07f9303d31c977253873a98d031a /src/nix-env/profiles.hh
parent73ab2ed4fd1c3cd974851be4f13e7a276ab16acf (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.hh2
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);