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:
parent
18ddbd474b
commit
6c148eaae7
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue