anchor.diff:  
     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
  
positive.code:   libraryPath = lib.makeLibraryPath (
      []
      ++ lib.optionals cudaSupport [ cudatoolkit.lib cudatoolkit.out ]
      ++ lib.optionals openclSupport [ ocl-icd clblas ]
    );
  
    preBuild = ''
  
negative.code:     description = "Library to manipulate tensors on GPU.";
      license = licenses.free;
      maintainers = with maintainers; [ artuuge ];
      platforms = platforms.unix;
    };
  
  }
  