civodul pushed a commit to branch master
in repository guix.
commit 7489207ff788d6f4a9c2b9aec87c9835753dfd2f
Author: Ludovic Courtès <[email protected]>
Date: Fri Jan 11 11:49:03 2019 +0100
refresh: Turn on warnings when '--manifest' is used.
* guix/scripts/refresh.scm (guix-refresh): Set WARN? when '-m' is used.
---
guix/scripts/refresh.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 64019b6..516e09b 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -484,7 +484,8 @@ all are dependent packages: ~{~a~^ ~}~%")
;; Warn about missing updaters when a package is explicitly given on
;; the command line.
(warn? (and (or (assoc-ref opts 'argument)
- (assoc-ref opts 'expression))
+ (assoc-ref opts 'expression)
+ (assoc-ref opts 'manifest))
(not recursive?))))
(with-error-handling
(with-store store