diff options
-rw-r--r-- | guix/scripts/build.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm index f2b8ca135e..97e2f5a167 100644 --- a/guix/scripts/build.scm +++ b/guix/scripts/build.scm @@ -679,8 +679,8 @@ needed." (_ #f)) opts))) - (when (null? items) - (warning (G_ "no arguments specified, nothing to build~%"))) + (when (and (null? drv) (null? items)) + (warning (G_ "no arguments specified, nothing to do~%"))) (cond ((assoc-ref opts 'log-file?) ;; Pass 'show-build-log' the output file names, not the |