diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-14 16:47:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-14 16:47:12 +0200 |
commit | 6e94a574787895cd74edd4ecca3fa347ed457330 (patch) | |
tree | b7bdb5ef2a4b73c12e75f16861615a2d59c393cf | |
parent | 52e1defe02446b5f5d52f31ca17dddd13fa6353e (diff) | |
download | 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.scm | 3 |
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?) |