[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: guix build: Emit "nothing to do" warning only when needed.
From: |
guix-commits |
Subject: |
03/12: guix build: Emit "nothing to do" warning only when needed. |
Date: |
Fri, 28 May 2021 17:05:10 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a44fa3742c34a017d1a9a06c45c03f429614e584
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri May 28 22:09:58 2021 +0200
guix build: Emit "nothing to do" warning only when needed.
This is a followup to 681af1fb78a735b51dc811aed770b2948212c3fc.
* guix/scripts/build.scm (guix-build): Emit "nothing to do" warning only
when both DRV and ITEMS are null.
---
guix/scripts/build.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index f2b8ca1..97e2f5a 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -679,8 +679,8 @@ needed."
(_ #f))
opts)))
- (when (null? items)
- (warning (G_ "no arguments specified, nothing to build~%")))
+ (when (and (null? drv) (null? items))
+ (warning (G_ "no arguments specified, nothing to do~%")))
(cond ((assoc-ref opts 'log-file?)
;; Pass 'show-build-log' the output file names, not the
- branch master updated (b1ae0f3 -> cefa260), guix-commits, 2021/05/28
- 01/12: guix package: Do not warn about "missing arguments" when there's nothing to do., guix-commits, 2021/05/28
- 09/12: gnu-maintenance: 'generic-html' correctly handles relative release URLs., guix-commits, 2021/05/28
- 03/12: guix build: Emit "nothing to do" warning only when needed.,
guix-commits <=
- 12/12: gnu: xjobs: Add 'release-monitoring-url' property., guix-commits, 2021/05/28
- 07/12: gnu: Add hostscope., guix-commits, 2021/05/28
- 10/12: gnu: hostscope: Add 'release-monitoring-url' property., guix-commits, 2021/05/28
- 02/12: doc: Spell out the implications of disabling substitutes., guix-commits, 2021/05/28
- 06/12: gnu: Add mbuffer., guix-commits, 2021/05/28
- 11/12: gnu: Add xjobs., guix-commits, 2021/05/28
- 08/12: gnu-maintenance: 'release-file?' accepts 'v' prefix as in "PKG-v1.2.tgz"., guix-commits, 2021/05/28
- 05/12: gnu: ipopt: Update to 3.13.4, guix-commits, 2021/05/28
- 04/12: gnu: Add cbc., guix-commits, 2021/05/28