From f16d3800e1be71c662b865276cbdeb66076442bf Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Tue, 26 Jul 2016 22:02:50 +0200 Subject: [PATCH] io: disable i686 build io uses SIMD instructions even on i686, causing the build to fail: > /nix/store/[...]-gcc-5.4.0/lib/gcc/i686-pc-linux-gnu/5.4.0/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '_mm_add_ps': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) (from https://hydra.nixos.org/build/37879114/log/raw) The simplest solution is to disable the build on this platform. --- pkgs/development/interpreters/io/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix index 5adca2c0b42..773a2c86028 100644 --- a/pkgs/development/interpreters/io/default.nix +++ b/pkgs/development/interpreters/io/default.nix @@ -47,6 +47,6 @@ stdenv.mkDerivation { z77z vrthra ]; - platforms = platforms.linux; + platforms = [ "x86_64-linux" ]; }; }