about summary refs log tree commit diff
path: root/src/nix-env/profiles.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/profiles.hh')
-rw-r--r--src/nix-env/profiles.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-env/profiles.hh b/src/nix-env/profiles.hh
index 423134412748..bcd882c34c93 100644
--- a/src/nix-env/profiles.hh
+++ b/src/nix-env/profiles.hh
@@ -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);