me
/
guix
Archived
1
0
Fork 0

import/utils: Fix conditional.

This is a follow-up to commit 45584061a9.

* guix/import/utils.scm (package->definition): Use EQ? instead of = to compare
truthiness; use ELSE instead of (#T).
master
Ricardo Wurmus 2020-12-09 19:49:00 +01:00
parent 18ddbd474b
commit 6c148eaae7
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -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)