guix build: Do not show what to build when '-d' is used.

* guix/scripts/build.scm (guix-build): Don't call 'show-what-to-build'
when OPTS contains 'derivations-only?'.
master
Ludovic Courtès 2016-05-14 16:47:12 +02:00
parent 52e1defe02
commit 6e94a57478
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -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?)