diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 20:35:12 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 20:35:41 +0200 |
commit | 4b738fc7a922ff7b30135768ee4f469d784b5569 (patch) | |
tree | 1f607504e248bd7e14f25e25a36bfca5e5a39c1f /src/libstore/profiles.cc | |
parent | f359b9981ba3d81e33981018c4bcb83ab45830a3 (diff) |
Add 'nix profile wipe-history' command
Diffstat (limited to 'src/libstore/profiles.cc')
-rw-r--r-- | src/libstore/profiles.cc | 4 |
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); } } |