[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: guix build: Do not show what to build when '-d' is used.
From: |
Ludovic Courtès |
Subject: |
01/04: guix build: Do not show what to build when '-d' is used. |
Date: |
Sat, 14 May 2016 20:14:19 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 6e94a574787895cd74edd4ecca3fa347ed457330
Author: Ludovic Courtès <address@hidden>
Date: Sat May 14 16:47:12 2016 +0200
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?'.
---
guix/scripts/build.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 320ec39..c38ffe6 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?)