[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: scripts: Skip 'guix pull' suggestion when running code from a che
From: |
guix-commits |
Subject: |
08/08: scripts: Skip 'guix pull' suggestion when running code from a checkout. |
Date: |
Wed, 27 Mar 2019 06:54:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9e5f2060ad9204def8d1eb249f053f1fd0bbf212
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 27 11:52:47 2019 +0100
scripts: Skip 'guix pull' suggestion when running code from a checkout.
* guix/scripts.scm (warn-about-old-distro): Do not warn when
GUIX_UNINSTALLED is set.
---
guix/scripts.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts.scm b/guix/scripts.scm
index 75d801a..e4b11d2 100644
--- a/guix/scripts.scm
+++ b/guix/scripts.scm
@@ -173,7 +173,8 @@ Show what and how will/would be built."
"Your Guix installation is ~a days old.\n"
(seconds->days age))
(seconds->days age)))
- (when (or (not age) (>= age old))
+ (when (and (or (not age) (>= age old))
+ (not (getenv "GUIX_UNINSTALLED")))
(warning (G_ "Consider running 'guix pull' followed by
'~a' to get up-to-date packages and security updates.\n")
suggested-command)
- branch master updated (37099f5 -> 9e5f206), guix-commits, 2019/03/27
- 01/08: installer: Emit 'bootloader' field before 'swap-devices'., guix-commits, 2019/03/27
- 04/08: installer: Use the (service …) form for MATE., guix-commits, 2019/03/27
- 08/08: scripts: Skip 'guix pull' suggestion when running code from a checkout.,
guix-commits <=
- 02/08: installer: Produce an 'initrd-modules' field if needed., guix-commits, 2019/03/27
- 03/08: installer: Ask for confirmation before formatting partitions., guix-commits, 2019/03/27
- 07/08: vm: Ask QEMU for more RAM in the VM that makes ISO9660 images., guix-commits, 2019/03/27
- 05/08: services: Deprecate 'gnome-desktop-service'., guix-commits, 2019/03/27
- 06/08: services: Deprecate 'xfce-desktop-service'., guix-commits, 2019/03/27