mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -275,9 +275,9 @@ (define* (package->definition guix-package #:optional append-version?/string)
|
||||||
(cond
|
(cond
|
||||||
((string? append-version?/string)
|
((string? append-version?/string)
|
||||||
(string-append name "-" 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)))
|
(string-append name "-" (version-major+minor version)))
|
||||||
((#t) version)))
|
(else name)))
|
||||||
,guix-package))))
|
,guix-package))))
|
||||||
|
|
||||||
(define (build-system-modules)
|
(define (build-system-modules)
|
||||||
|
|
Loading…
Reference in a new issue