anchor.diff:    depsBuildBuild = [ buildPackages.stdenv.cc ];
   
     makeFlags = [
  -    "ARCH=${stdenv.hostPlatform.parsed.cpu.name}"
  +    "ARCH=${stdenv.hostPlatform.linuxArch}"
  +    "TARGET_ARCH=${stdenv.hostPlatform.linuxArch}"
       "VERBOSE=1"
     ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
       "CROSS=${stdenv.cc.targetPrefix}"
  
positive.code: 
    installPhase = ''
      mkdir -p $out
      make PREFIX=$out VERBOSE=1 install
      (cd $out/include && ln -s $(ls -d ${linuxHeaders}/include/* | grep -v "scsi$") .)
      # libpthread.so may not exist, so I do || true
      sed -i s@/lib/@$out/lib/@g $out/lib/libc.so $out/lib/libpthread.so || true
  
negative.code:     description = "A small implementation of the C library";
      maintainers = with maintainers; [ rasendubi ];
      license = licenses.lgpl2;
      platforms = platforms.linux;
      broken = stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64;
    };
  }
  