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
parent
18ddbd474b
commit
6c148eaae7
|
@ -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)
|
||||
|
|
Reference in New Issue