{bintools,cc}-wrapper: extraPackages should be depsTargetTargetPropagated

They are libraries used by programs built with these tools, not used by the
tools themselves.
This commit is contained in:
John Ericson 2017-07-07 15:57:01 -04:00
parent a036473a0a
commit 3a50395ef2
2 changed files with 3 additions and 2 deletions

View File

@ -178,7 +178,7 @@ stdenv.mkDerivation {
else throw "unknown emulation for platform: " + targetPlatform.config;
in targetPlatform.platform.bfdEmulation or (fmt + "-" + arch);
propagatedBuildInputs = extraPackages;
depsTargetTargetPropagated = extraPackages;
setupHook = ./setup-hook.sh;

View File

@ -201,7 +201,8 @@ stdenv.mkDerivation {
ln -s $ccPath/${targetPrefix}ghdl $out/bin/${targetPrefix}ghdl
'';
propagatedBuildInputs = [ bintools ] ++ extraPackages;
propagatedBuildInputs = [ bintools ];
depsTargetTargetPropagated = extraPackages;
setupHook = ./setup-hook.sh;