{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:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user