anchor.diff:  
   let
     pkgs = import ../../.. { inherit localSystem crossSystem; };
  -  glibc = if pkgs.hostPlatform != pkgs.buildPlatform
  +  libc = if pkgs.hostPlatform != pkgs.buildPlatform
             then pkgs.libcCross
             else pkgs.glibc;
   in with pkgs; rec {
  
positive.code:         cp -rd ${gcc.cc.out}/libexec/* $out/libexec
          chmod -R u+w $out/libexec
          rm -rf $out/libexec/gcc/*/*/plugin
          mkdir $out/include
          cp -rd ${gcc.cc.out}/include/c++ $out/include
          chmod -R u+w $out/include
          rm -rf $out/include/c++/*/ext/pb_ds
  
negative.code:         find $out/include -name .install -exec rm {} \;
          find $out/include -name ..install.cmd -exec rm {} \;
          mv $out/include $out/include-glibc
      '' else if (targetPlatform.libc == "musl") then ''
          # Copy what we need from musl
          cp ${libc.out}/lib/* $out/lib
          cp -rL ${libc.dev}/include $out
          chmod -R u+w "$out"
  
          rm -rf $out/include/mtd $out/include/rdma $out/include/sound $out/include/video
          find $out/include -name .install -exec rm {} \;
          find $out/include -name ..install.cmd -exec rm {} \;
      '' else throw "unsupported libc for bootstrap tools")
      + ''
          # Copy coreutils, bash, etc.
          cp ${coreutilsMinimal.out}/bin/* $out/bin
          (cd $out/bin && rm vdir dir sha*sum pinky factor pathchk runcon shuf who whoami shred users)
  