guix: Update from Guix.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 23 May 2017 18:11:51 +0000 (20:11 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 23 May 2017 18:11:51 +0000 (20:11 +0200)
* guix.scm (mes): Update from Guix.

guix.scm

index e935cd3a827fb67b2d1ffb77f7cb1ce0e336ac5f..2c9a37ca126335d5d745c43bf1b9dcc8ffa668a5 100644 (file)
--- a/guix.scm
+++ b/guix.scm
        `(("nyacc" ,nyacc)))
       (native-inputs
        `(("guile" ,guile-2.2)
-         ,@(if (or (equal? (%current-system) "x86_64-linux")
-                   (equal? (%current-target-system) "x86_64-linux"))
+         ,@(if (string-prefix? "x86_64-linux" (or (%current-target-system)
+                                                  (%current-system)))
                ;; Use cross-compiler rather than #:system "i686-linux" to get
                ;; MesCC 64 bit .go files installed ready for use with Guile.
                `(("i686-linux-binutils" ,(cross-binutils triplet))