[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: scripts: GC hint suggests 'guix gc -d 1m'.
From: |
guix-commits |
Subject: |
08/09: scripts: GC hint suggests 'guix gc -d 1m'. |
Date: |
Wed, 10 Apr 2019 11:17:51 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9c074f61ef1883ae01fcb9daa0c199c46b1ea584
Author: Ludovic Courtès <address@hidden>
Date: Sat Apr 6 23:19:36 2019 +0200
scripts: GC hint suggests 'guix gc -d 1m'.
* guix/scripts.scm (warn-about-disk-space): Suggest 'guix gc -d'.
---
guix/scripts.scm | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/guix/scripts.scm b/guix/scripts.scm
index e4b11d2..77cbf12 100644
--- a/guix/scripts.scm
+++ b/guix/scripts.scm
@@ -201,16 +201,12 @@ available."
(when (< ratio threshold)
(warning (G_ "only ~,1f% of free space available on ~a~%")
(* ratio 100) (%store-prefix))
- (if profile
- (display-hint (format #f (G_ "Consider deleting old profile
+ (display-hint (format #f (G_ "Consider deleting old profile
generations and collecting garbage, along these lines:
@example
-guix package -p ~s --delete-generations=1m
-guix gc
+guix gc --delete-generations=1m
@end example\n")
- profile))
- (display-hint (G_ "Consider running @command{guix gc} to free
-space."))))))
+ profile)))))
;;; scripts.scm ends here
- branch master updated (eff3a9b -> 3e4e74c), guix-commits, 2019/04/10
- 04/09: Add (guix store roots)., guix-commits, 2019/04/10
- 02/09: ui: Highlight diagnostic format string arguments., guix-commits, 2019/04/10
- 01/09: ui: Colorize hints., guix-commits, 2019/04/10
- 08/09: scripts: GC hint suggests 'guix gc -d 1m'.,
guix-commits <=
- 07/09: guix gc: Add '--delete-generations'., guix-commits, 2019/04/10
- 05/09: guix gc: Add '--list-roots'., guix-commits, 2019/04/10
- 03/09: pull: Remove duplicate '--dry-run' description., guix-commits, 2019/04/10
- 09/09: gnu: kodi: Allow connecting to HTTPS sources., guix-commits, 2019/04/10
- 06/09: profiles: Add 'generation-profile'., guix-commits, 2019/04/10