Commit 3a50395e authored by John Ericson's avatar John Ericson
Browse files

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

They are libraries used by programs built with these tools, not used by the
tools themselves.
parent a036473a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+2 −1
Original line number Diff line number Diff line
@@ -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;