anchor.diff:    build = stdenv.mkDerivation {
       name = "stdenv-bootstrap-tools";
   
  -    buildInputs = [nukeReferences cpio];
  +    nativeBuildInputs = [ buildPackages.nukeReferences buildPackages.cpio ]
  +      ++ lib.optionals targetPlatform.isAarch64 [ buildPackages.darwin.sigtool ];
   
       buildCommand = ''
  -      mkdir -p $out/bin $out/lib $out/lib/system
  -
  -      # Copy libSystem's .o files for various low-level boot stuff.
  -      cp -d ${darwin.Libsystem}/lib/*.o $out/lib
  -
  -      # Resolv is actually a link to another package, so let's copy it properly
  -      cp -L ${darwin.Libsystem}/lib/libresolv.9.dylib $out/lib
  -
  -      cp -rL ${darwin.Libsystem}/include $out
  -      chmod -R u+w $out/include
  -      cp -rL ${darwin.ICU}/include*             $out/include
  -      cp -rL ${libiconv}/include/*       $out/include
  -      cp -rL ${gnugrep.pcre.dev}/include/*   $out/include
  -      mv $out/include $out/include-Libsystem
  +      mkdir -p $out/bin $out/lib $out/lib/system $out/lib/darwin
  +
  +      ${lib.optionalString stdenv.targetPlatform.isx86_64 ''
  +        # Copy libSystem's .o files for various low-level boot stuff.
  +        cp -d ${darwin.Libsystem}/lib/*.o $out/lib
  +
  +        # Resolv is actually a link to another package, so let's copy it properly
  +        cp -L ${darwin.Libsystem}/lib/libresolv.9.dylib $out/lib
  +
  +        cp -rL ${darwin.Libsystem}/include $out
  +        chmod -R u+w $out/include
  +        cp -rL ${darwin.ICU}/include*             $out/include
  +        cp -rL ${libiconv}/include/*       $out/include
  +        cp -rL ${gnugrep.pcre.dev}/include/*   $out/include
  +        mv $out/include $out/include-Libsystem
  +      ''}
   
         # Copy coreutils, bash, etc.
         cp ${coreutils_}/bin/* $out/bin
  
positive.code: 
    # The ultimate test: bootstrap a whole stdenv from the tools specified above and get a package set out of it
    test-pkgs = import test-pkgspath {
      inherit system;
      stdenvStages = args: let
          args' = args // { inherit bootstrapFiles; };
        in (import (test-pkgspath + "/pkgs/stdenv/darwin") args').stagesDarwin;
  
negative.code:       cp ${bzip2_.bin}/bin/bzip2 $out/on-server
  
        chmod u+w $out/on-server/*
        ${stdenv.cc.targetPrefix}strip $out/on-server/*
        nuke-refs $out/on-server/*
  
        (cd $out/pack && (find | cpio -o -H newc)) | bzip2 > $out/on-server/bootstrap-tools.cpio.bz2
  