From 6e94a574787895cd74edd4ecca3fa347ed457330 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 14 May 2016 16:47:12 +0200 Subject: 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(-) (limited to 'guix') 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?) -- cgit v1.2.3