anchor.diff:        inherit sha256;
       };
   
  -    targetConfig = if hostPlatform != buildPlatform then hostPlatform.config else null;
  -
  -    platform = hostPlatform.platform.kernelArch;
  +    ARCH = hostPlatform.platform.kernelArch;
   
       # It may look odd that we use `stdenvNoCC`, and yet explicit depend on a cc.
       # We do this so we have a build->build, not build->host, C compiler.
  
positive.code:     inherit patches;
  
      buildPhase = ''
        if test -n "$targetConfig"; then
           export ARCH=$platform
        fi
        make ${kernelHeadersBaseConfig} SHELL=bash
        make mrproper headers_check SHELL=bash
      '';
  
  
negative.code: 
  assert hostPlatform.isLinux;
  
  let
    common = { version, sha256, patches ? null }: stdenvNoCC.mkDerivation {
      name = "linux-headers-${version}";
  
  