From 7489207ff788d6f4a9c2b9aec87c9835753dfd2f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 11 Jan 2019 11:49:03 +0100 Subject: 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(-) (limited to 'guix/scripts') 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 @@ (define (options->updaters opts) ;; 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 -- cgit v1.2.3