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:     description = "A small implementation of the C library";
      maintainers = with maintainers; [ rasendubi ];
      license = licenses.lgpl2;
      platforms = intersectLists platforms.linux platforms.x86; # fails to build on ARM
    };
  }
  
negative.code:     UCLIBC_SUSV4_LEGACY y
      UCLIBC_HAS_THREADS_NATIVE y
      KERNEL_HEADERS "${linuxHeaders}/include"
    '' + lib.optionalString (stdenv.hostPlatform.gcc.float or "" == "soft") ''
      UCLIBC_HAS_FPU n
    '' + lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) ''
      CONFIG_ARM_EABI y
      ARCH_WANTS_BIG_ENDIAN n
  