anchor.diff:      # GHC will refuse to compile with a binutils suffering from it. See this
       # comment for more information:
       # https://gitlab.haskell.org/ghc/ghc/issues/4210#note_78333
  -    ++ lib.optional (stdenv.targetPlatform.isAarch32 && stdenv.hostPlatform.system != stdenv.targetPlatform.system) ./R_ARM_COPY.patch
  -    ++ lib.optional stdenv.targetPlatform.isWindows ./windres-locate-gcc.patch;
  +    ++ lib.optional (targetPlatform.isAarch32 && hostPlatform.system != targetPlatform.system) ./R_ARM_COPY.patch
  +    ++ lib.optional targetPlatform.isWindows ./windres-locate-gcc.patch;
   
     outputs = [ "out" "info" "man" ];
   
  
positive.code: 
    # As binutils takes part in the stdenv building, we don't want references
    # to the bootstrap-tools libgcc (as uses to happen on arm/mips)
    NIX_CFLAGS_COMPILE = if stdenv.hostPlatform.isDarwin
      then "-Wno-string-plus-int -Wno-deprecated-declarations"
      else "-static-libgcc";
  
  
negative.code:       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.${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
  