From e1d58266d55a91477d57b0715e3328968419663e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 13 Mar 2020 12:27:02 +0100 Subject: [PATCH] gcc: tweak platform condition in the hack from b6ae8193 It was rightly noted that armv7l suffers from the same issue: https://hydra.nixos.org/build/114263466#tabs-buildsteps --- pkgs/development/compilers/gcc/9/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix index 8dc93a8ae8f4..f660a59a790a 100644 --- a/pkgs/development/compilers/gcc/9/default.nix +++ b/pkgs/development/compilers/gcc/9/default.nix @@ -247,7 +247,7 @@ stdenv.mkDerivation ({ # In this particular combination it stopped creating lib output at all. # TODO: perhaps find a better fix? (ideally understand what's going on) - postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.isi686 + postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.is32bit then ''mkdir "$lib"'' else null;