anchor.diff:    passthru = let
       pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
     in rec {
  -    inherit libPrefix sitePackages x11Support;
  +    inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
       executable = "${libPrefix}m";
       buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
       withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
  
positive.code: 
    patches = [
      ./no-ldconfig.patch
    ];
  
    postPatch = ''
  
negative.code:     ++ optionals x11Support [ tcl tk libX11 xproto ]
      ++ optionals stdenv.isDarwin [ CF configd ];
  
    hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
  
  in stdenv.mkDerivation {
    name = "python3-${version}";
    pythonVersion = majorVersion;
  