cross stdenv adaptor: Remove ccCross binutils attrs and binutils extra buildDepends

It now has the correct wrapped tools and nothing else is needed.
This commit is contained in:
John Ericson
2017-06-22 17:52:28 -04:00
committed by John Ericson
parent 121e7d9335
commit 9bfd03eff7
4 changed files with 15 additions and 20 deletions
+6 -9
View File
@@ -31,15 +31,12 @@ in bootStages ++ [
targetPlatform = crossSystem;
inherit config overlays;
selfBuild = false;
stdenv = if crossSystem.useiOSCross or false
then let
inherit (buildPackages.darwin.ios-cross) cc binutils;
in buildPackages.makeStdenvCross
buildPackages.stdenv crossSystem
binutils cc
else buildPackages.makeStdenvCross
buildPackages.stdenv crossSystem
buildPackages.binutils buildPackages.gccCrossStageFinal;
stdenv = buildPackages.makeStdenvCross
buildPackages.stdenv
crossSystem
(if crossSystem.useiOSCross or false
then buildPackages.darwin.ios-cross
else buildPackages.gccCrossStageFinal);
})
]