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