aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/profiles.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 20:35:12 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 20:35:41 +0200
commit4b738fc7a922ff7b30135768ee4f469d784b5569 (patch)
tree1f607504e248bd7e14f25e25a36bfca5e5a39c1f /src/libstore/profiles.cc
parentf359b9981ba3d81e33981018c4bcb83ab45830a3 (diff)
Add 'nix profile wipe-history' command
Diffstat (limited to 'src/libstore/profiles.cc')
-rw-r--r--src/libstore/profiles.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/profiles.cc b/src/libstore/profiles.cc
index aca0ea5ad..73163424c 100644
--- a/src/libstore/profiles.cc
+++ b/src/libstore/profiles.cc
@@ -126,9 +126,9 @@ void deleteGeneration(const Path & profile, GenerationNumber gen)
static void deleteGeneration2(const Path & profile, GenerationNumber gen, bool dryRun)
{
if (dryRun)
- printInfo(format("would remove profile version %1%") % gen);
+ notice("would remove profile version %1%", gen);
else {
- printInfo(format("removing profile version %1%") % gen);
+ notice("removing profile version %1%", gen);
deleteGeneration(profile, gen);
}
}