gnu: mes: Don't fail when (%current-target-system) is #f.
* gnu/packages/mes.scm (mes)[native-inputs]: Test string equality differently.
This commit is contained in:
parent
e7620b649c
commit
5afc737363
|
@ -75,8 +75,8 @@ extensive examples, including parsers for the Javascript and C99 languages.")
|
||||||
`(("nyacc" ,nyacc)))
|
`(("nyacc" ,nyacc)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-2.2)
|
||||||
,@(if (or (equal? (%current-system) "x86_64-linux")
|
,@(if (string-prefix? "x86_64-linux" (or (%current-target-system)
|
||||||
(string-prefix? (%current-target-system) "x86_64-linux"))
|
(%current-system)))
|
||||||
;; Use cross-compiler rather than #:system "i686-linux" to get
|
;; Use cross-compiler rather than #:system "i686-linux" to get
|
||||||
;; MesCC 64 bit .go files installed ready for use with Guile.
|
;; MesCC 64 bit .go files installed ready for use with Guile.
|
||||||
`(("i686-linux-binutils" ,(cross-binutils triplet))
|
`(("i686-linux-binutils" ,(cross-binutils triplet))
|
||||||
|
|
Loading…
Reference in New Issue