anchor.diff:          sha256 = "0v86hrqg15mbc78m9qk8dbkaaq3mlwashgbf9n79kxpl1gilnah8";
         });
   
  -  nativeBuildInputs = if stdenvNoCC.isDarwin
  +  nativeBuildInputs = [ validatePkgConfig ] ++ (if stdenvNoCC.isDarwin
       then
         [ undmg darwin.cctools ]
       else
  -      [ rpmextract ];
  -
  -  installCheckInputs = [ pkgconfig ];
  -
  -  doInstallCheck = true;
  +      [ rpmextract ]);
   
     buildPhase = if stdenvNoCC.isDarwin then ''
       for f in Contents/Resources/pkg/*.tgz; do
  
positive.code:     install_name_tool -change @rpath/libtbbmalloc.dylib $out/lib/libtbbmalloc.dylib $out/lib/libtbbmalloc_proxy.dylib
    '';
  
    # Validate pkgconfig files, since they break often on updates.
    installCheckPhase = ''
      pkg-config --validate $out/lib/pkgconfig/*.pc
    '';
  
    # Per license agreement, do not modify the binary
    dontStrip = true;
    dontPatchELF = true;
  
negative.code: { stdenvNoCC
  , fetchurl
  , rpmextract
  , undmg
  , darwin
  , validatePkgConfig
  , enableStatic ? false
  }:
  
  