[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/112: import/utils: Fix conditional.
From: |
guix-commits |
Subject: |
14/112: import/utils: Fix conditional. |
Date: |
Wed, 9 Dec 2020 16:06:29 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 6c148eaae7ed0688e1e42b092f02ba8a4a870edf
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 9 19:49:00 2020 +0100
import/utils: Fix conditional.
This is a follow-up to commit 45584061a9ebe961e2be08ee94c3fe8ad74e2713.
* guix/import/utils.scm (package->definition): Use EQ? instead of = to
compare
truthiness; use ELSE instead of (#T).
---
guix/import/utils.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/import/utils.scm b/guix/import/utils.scm
index 7de9534..e227c2e 100644
--- a/guix/import/utils.scm
+++ b/guix/import/utils.scm
@@ -275,9 +275,9 @@ version. If APPEND-VERSION?/string is a string, append this
string."
(cond
((string? append-version?/string)
(string-append name "-" append-version?/string))
- ((= append-version?/string #t)
+ ((eq? append-version?/string #t)
(string-append name "-" (version-major+minor
version)))
- ((#t) version)))
+ (else name)))
,guix-package))))
(define (build-system-modules)
- branch master updated (eaca440 -> 52e14cb), guix-commits, 2020/12/09
- 01/112: gnu: Add r-brio., guix-commits, 2020/12/09
- 02/112: gnu: Add r-diffobj., guix-commits, 2020/12/09
- 03/112: gnu: Add r-waldo., guix-commits, 2020/12/09
- 08/112: gnu: Add r-rainbow., guix-commits, 2020/12/09
- 05/112: gnu: Add r-parallelly., guix-commits, 2020/12/09
- 04/112: gnu: Add r-gitcreds., guix-commits, 2020/12/09
- 06/112: gnu: Add r-ash., guix-commits, 2020/12/09
- 07/112: gnu: Add r-hdrcde., guix-commits, 2020/12/09
- 10/112: gnu: Add r-gamm4., guix-commits, 2020/12/09
- 14/112: import/utils: Fix conditional.,
guix-commits <=
- 11/112: gnu: Add r-optimx., guix-commits, 2020/12/09
- 09/112: gnu: Add r-fds., guix-commits, 2020/12/09
- 16/112: gnu: r-rticles: Update to 0.17., guix-commits, 2020/12/09
- 17/112: gnu: r-v8: Update to 3.4.0., guix-commits, 2020/12/09
- 18/112: gnu: r-ggalluvial: Update to 0.12.3., guix-commits, 2020/12/09
- 20/112: gnu: r-vegan: Update to 2.5-7., guix-commits, 2020/12/09
- 19/112: gnu: r-ggpmisc: Update to 0.3.7., guix-commits, 2020/12/09
- 21/112: gnu: r-shinyfiles: Update to 0.9.0., guix-commits, 2020/12/09
- 23/112: gnu: r-ps: Update to 1.5.0., guix-commits, 2020/12/09
- 27/112: gnu: r-inline: Update to 0.3.17., guix-commits, 2020/12/09