anchor.diff:        represents a higher-level, task-based parallelism that abstracts platform
         details and threading mechanisms for scalability and performance.
       '';
  -    platforms = with platforms; linux ++ darwin;
  +    platforms = platforms.unix;
       maintainers = with maintainers; [ thoughtpolice dizfer ];
     };
   }
  
positive.code: { lib, stdenv, fetchFromGitHub, fixDarwinDylibNames, compiler ? if stdenv.cc.isClang then "clang" else null, stdver ? null }:
  
  with lib; stdenv.mkDerivation rec {
    pname = "tbb";
    version = "2020_U3";
  
    src = fetchFromGitHub {
      owner = "01org";
      repo = "tbb";
      rev = version;
      sha256 = "sha256-prO2O5hd+Wz5iA0vfrqmyHFr0Ptzk64so5KpSpvuKmU=";
    };
  
    nativeBuildInputs = optional stdenv.isDarwin fixDarwinDylibNames;
  
    makeFlags = optional (compiler != null) "compiler=${compiler}"
      ++ optional (stdver != null) "stdver=${stdver}";
  
    patches = lib.optional stdenv.hostPlatform.isMusl ./glibc-struct-mallinfo.patch;
  
    installPhase = ''
      runHook preInstall
  
negative.code:     runHook postInstall
    '';
  
    meta = with lib; {
      description = "Intel Thread Building Blocks C++ Library";
      homepage = "http://threadingbuildingblocks.org/";
      license = licenses.asl20;
  