anchor.diff:        sha256 = "1kdrz6fki55lm15rwwamn74fnqpy0zlafsida2zymk76n3656c63";
       };
     };
  +
  +  # The targetPrefix prepended to binary names to allow multiple binuntils on
  +  # the PATH to both be usable.
  +  targetPrefix = lib.optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-";
   in
   
   stdenv.mkDerivation {
     pname = targetPrefix + "binutils";
     inherit version;
   
  -  src = srcs.${stdenv.targetPlatform.system} or srcs.normal;
  +  src = srcs.${targetPlatform.system} or srcs.normal;
   
     # WARN: this package is used for bootstrapping fetchurl, and thus cannot use
     # fetchpatch! All mutable patches (generated by GitHub or cgit) that are
  
positive.code:     # Remove on the next release
      # https://sourceware.org/bugzilla/show_bug.cgi?id=28138
      ./fix-ld-descriptors.patch
    ] ++ lib.optional stdenv.targetPlatform.isiOS ./support-ios.patch
      # This patch was suggested by Nick Clifton to fix
      # https://sourceware.org/bugzilla/show_bug.cgi?id=16177
      # It can be removed when that 7-year-old bug is closed.
  
negative.code:     bison
      perl
      texinfo
    ] ++ (lib.optionals targetPlatform.isiOS [
      autoreconfHook
    ]) ++ lib.optionals targetPlatform.isVc4 [ flex ];
    buildInputs = [ zlib gettext ];
  
    inherit noSysDirs;
  