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?'.
This commit is contained in:
parent
52e1defe02
commit
6e94a57478
|
@ -681,7 +681,8 @@ needed."
|
||||||
(_ #f))
|
(_ #f))
|
||||||
opts)))
|
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
|
(show-what-to-build store drv
|
||||||
#:use-substitutes?
|
#:use-substitutes?
|
||||||
(assoc-ref opts 'substitutes?)
|
(assoc-ref opts 'substitutes?)
|
||||||
|
|
Loading…
Reference in New Issue