anchor.diff: -{ lib, stdenv, buildPackages
  -, fetchurl, linuxHeaders, libiconvReal
  +{ lib
  +, stdenv
  +, buildPackages
  +, fetchurl
  +, linuxHeaders
  +, libiconvReal
   , extraConfig ? ""
   }:
   
   let
  +  isCross = (stdenv.buildPlatform != stdenv.hostPlatform);
     configParser = ''
       function parseconfig {
           set -x
  
positive.code:     UCLIBC_HAS_RPC y
      DO_C99_MATH y
      UCLIBC_HAS_PROGRAM_INVOCATION_NAME y
      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
      ARCH_BIG_ENDIAN n
  
negative.code:     ARCH_LITTLE_ENDIAN y
      UCLIBC_HAS_FPU n
    '';
  in
  stdenv.mkDerivation rec {
    pname = "uclibc-ng";
    version = "1.0.41";
  
    src = fetchurl {
      url = "https://downloads.uclibc-ng.org/releases/${version}/uClibc-ng-${version}.tar.xz";
      sha256 = "sha256-syqSoCGNlZItaXZGTm71Hi66z7zbYFggRY2du4ph4CU=";
    };
  
    # 'ftw' needed to build acl, a coreutils dependency
  