{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-12-30 22:04:21 -05:00
parent a036473a0a
commit 3a50395ef2
2 changed files with 3 additions and 2 deletions
@@ -178,7 +178,7 @@ stdenv.mkDerivation {
else throw "unknown emulation for platform: " + targetPlatform.config; else throw "unknown emulation for platform: " + targetPlatform.config;
in targetPlatform.platform.bfdEmulation or (fmt + "-" + arch); in targetPlatform.platform.bfdEmulation or (fmt + "-" + arch);
propagatedBuildInputs = extraPackages; depsTargetTargetPropagated = extraPackages;
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
+2 -1
View File
@@ -201,7 +201,8 @@ stdenv.mkDerivation {
ln -s $ccPath/${targetPrefix}ghdl $out/bin/${targetPrefix}ghdl ln -s $ccPath/${targetPrefix}ghdl $out/bin/${targetPrefix}ghdl
''; '';
propagatedBuildInputs = [ bintools ] ++ extraPackages; propagatedBuildInputs = [ bintools ];
depsTargetTargetPropagated = extraPackages;
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;