anchor.diff:      "--builtin-libraries=replace"
     ];
   
  +  # python-config from build Python gives incorrect values when cross-compiling.
  +  # If python-config is not found, the build falls back to using the sysconfig
  +  # module, which works correctly in all cases.
  +  PYTHON_CONFIG = "/invalid";
  +
     # this must not be exported before the ConfigurePhase otherwise waf whines
     preBuild = lib.optionalString stdenv.hostPlatform.isMusl ''
       export NIX_CFLAGS_LINK="-no-pie -shared";
  
positive.code:     license = licenses.gpl3;
      platforms = platforms.all;
    };
  } // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
    # python-config from build Python gives incorrect values when cross-compiling.
    # If python-config is not found, the build falls back to using the sysconfig
    # module, which works correctly when cross-compiling.
    PYTHON_CONFIG = "/invalid";
  })
  
negative.code: , wafHook
  }:
  
  stdenv.mkDerivation rec {
    pname = "talloc";
    version = "2.3.2";
  
  