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).
This commit is contained in:
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

View file

@ -275,9 +275,9 @@ (define* (package->definition guix-package #:optional append-version?/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)