From 4e68511bb1227b0aefc8a073930eefcdcbb31e38 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 20 Nov 2018 20:48:03 -0600 Subject: [PATCH] bintools: use i386 on all 32 bit x86 systems --- pkgs/build-support/bintools-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 3ac1e52f309..3d7137cb5bb 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -177,7 +177,7 @@ stdenv.mkDerivation { /**/ if targetPlatform.isAarch64 then endianPrefix + "aarch64" else if targetPlatform.isAarch32 then endianPrefix + "arm" else if targetPlatform.isx86_64 then "x86-64" - else if targetPlatform.isi686 then "i386" + else if targetPlatform.isx86 then "i386" else if targetPlatform.isMips then { "mips" = "btsmipn32"; # n32 variant "mipsel" = "ltsmipn32"; # n32 variant