aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-14 16:47:12 +0200
committerLudovic Courtès <ludo@gnu.org>2016-05-14 16:47:12 +0200
commit6e94a574787895cd74edd4ecca3fa347ed457330 (patch)
treeb7bdb5ef2a4b73c12e75f16861615a2d59c393cf
parent52e1defe02446b5f5d52f31ca17dddd13fa6353e (diff)
downloadguix-6e94a574787895cd74edd4ecca3fa347ed457330.tar
guix-6e94a574787895cd74edd4ecca3fa347ed457330.tar.gz
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?'.
-rw-r--r--guix/scripts/build.scm3
1 files changed, 2 insertions, 1 deletions
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?)