Loading pkgs/top-level/all-packages.nix +26 −32 Original line number Diff line number Diff line Loading @@ -5038,7 +5038,6 @@ with pkgs; wrapCCMulti = cc: if stdenv.targetPlatform.system == "x86_64-linux" then let # Binutils with glibc multi bintools = cc.bintools.override { Loading @@ -5060,20 +5059,15 @@ with pkgs; extraBuildCommands = '' echo "dontMoveLib64=1" >> $out/nix-support/setup-hook ''; }) else throw "Multilib ${cc.name} not supported for ‘${stdenv.targetPlatform.system}’"; }); wrapClangMulti = clang: if stdenv.targetPlatform.system == "x86_64-linux" then callPackage ../development/compilers/llvm/multi.nix { inherit clang; gcc32 = pkgsi686Linux.gcc; gcc64 = pkgs.gcc; } else throw "Multilib ${clang.cc.name} not supported for '${stdenv.targetPlatform.system}'"; }; gcc_multi = wrapCCMulti gcc; clang_multi = wrapClangMulti clang; Loading Loading
pkgs/top-level/all-packages.nix +26 −32 Original line number Diff line number Diff line Loading @@ -5038,7 +5038,6 @@ with pkgs; wrapCCMulti = cc: if stdenv.targetPlatform.system == "x86_64-linux" then let # Binutils with glibc multi bintools = cc.bintools.override { Loading @@ -5060,20 +5059,15 @@ with pkgs; extraBuildCommands = '' echo "dontMoveLib64=1" >> $out/nix-support/setup-hook ''; }) else throw "Multilib ${cc.name} not supported for ‘${stdenv.targetPlatform.system}’"; }); wrapClangMulti = clang: if stdenv.targetPlatform.system == "x86_64-linux" then callPackage ../development/compilers/llvm/multi.nix { inherit clang; gcc32 = pkgsi686Linux.gcc; gcc64 = pkgs.gcc; } else throw "Multilib ${clang.cc.name} not supported for '${stdenv.targetPlatform.system}'"; }; gcc_multi = wrapCCMulti gcc; clang_multi = wrapClangMulti clang; Loading