From 7489207ff788d6f4a9c2b9aec87c9835753dfd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 11 Jan 2019 11:49:03 +0100 Subject: [PATCH] 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 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