anchor.diff:    libraryPath = lib.makeLibraryPath (
       []
       ++ lib.optionals cudaSupport [ cudatoolkit.lib cudatoolkit.out ]
  -    ++ lib.optionals openclSupport [ ocl-icd clblas ]
  +    ++ lib.optionals openclSupport ([ clblas ] ++ lib.optional (!stdenv.isDarwin) ocl-icd)
     );
   
     preBuild = ''
  
positive.code: 
    postFixup = ''
      rm $out/lib/libgpuarray-static.a
  
      function fixRunPath {
        p=$(patchelf --print-rpath $1)
        patchelf --set-rpath "$p:$libraryPath" $1
  
negative.code:     description = "Library to manipulate tensors on GPU.";
      license = licenses.free;
      maintainers = with maintainers; [ artuuge ];
      platforms = platforms.unix;
    };
  
  }
  