diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm index 320ec39be2..c38ffe6e89 100644 --- a/guix/scripts/build.scm +++ b/guix/scripts/build.scm @@ -681,7 +681,8 @@ needed." (_ #f)) opts))) - (unless (assoc-ref opts 'log-file?) + (unless (or (assoc-ref opts 'log-file?) + (assoc-ref opts 'derivations-only?)) (show-what-to-build store drv #:use-substitutes? (assoc-ref opts 'substitutes?)