summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-01-07 10:09:55 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-01-07 10:10:34 +0200
commitbeb7e659f2cb9acdb0698e5c31a745fe0a9ac4b7 (patch)
tree6904fa1dd623b157049261befdfec43c9a1cb6ad /gnu/packages
parent56804398a94bea941183ae4ed29d2a9f82069a6f (diff)
gnu: mes: Generalize logic for native-inputs.
* gnu/packages/mes.scm (mes)[native-inputs]: On all architectures except i686-linux use cross compiler packages.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mes.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index 5b6c87992a..16177a0b50 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -76,8 +76,8 @@ extensive examples, including parsers for the Javascript and C99 languages.")
("nyacc" ,nyacc)))
(native-inputs
`(("guile" ,guile-2.2)
- ,@(if (string-prefix? "x86_64-linux" (or (%current-target-system)
- (%current-system)))
+ ,@(if (not (string-prefix? "i686-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))