summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-11 11:49:03 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-11 12:14:38 +0100
commit7489207ff788d6f4a9c2b9aec87c9835753dfd2f (patch)
tree60a698a52e9a1e5db15b2c92fa1153b0fcc4b1d0 /guix
parentfca43e14f70c0536668981eb1aed9e46a42de935 (diff)
refresh: Turn on warnings when '--manifest' is used.
* guix/scripts/refresh.scm (guix-refresh): Set WARN? when '-m' is used.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/refresh.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 64019b6eb3..516e09b4ce 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