anchor.diff:          cp -d ${gnugrep}/bin/grep $out/bin
           cp ${gawk}/bin/gawk $out/bin
           cp -d ${gawk}/bin/awk $out/bin
  -        cp ${gnutar}/bin/tar $out/bin
  +        cp ${tarMinimal}/bin/tar $out/bin
           cp ${gzip}/bin/gzip $out/bin
           cp ${bzip2.bin}/bin/bzip2 $out/bin
           cp -d ${gnumake}/bin/* $out/bin
  
positive.code: 
  rec {
  
    coreutilsMinimal = (pkgs.coreutils.override (args: {
      # We want coreutils without ACL support.
      aclSupport = false;
      # Our tooling currently can't handle scripts in bin/, only ELFs and symlinks.
      singleBinary = "symlinks";
    })).crossDrv;
  
    busyboxMinimal = (pkgs.busybox.override {
      useMusl = true;
  
negative.code:         cp -d ${glibc.out}/lib/crt?.o $out/lib
  
          cp -rL ${glibc.dev}/include $out
          chmod -R u+w "$out"
  
          # glibc can contain linker scripts: find them, copy their deps,
          # and get rid of absolute paths (nuke-refs would make them useless)
          local lScripts=$(grep --files-with-matches --max-count=1 'GNU ld script' -R "$out/lib")
          cp -d -t "$out/lib/" $(cat $lScripts | tr " " "\n" | grep -F '${glibc.out}' | sort -u)
          for f in $lScripts; do
            substituteInPlace "$f" --replace '${glibc.out}/lib/' ""
          done
  
          # Hopefully we won't need these.
          rm -rf $out/include/mtd $out/include/rdma $out/include/sound $out/include/video
  