Commit adcc088c authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

faiss: restore `passthru` attributes

Without the change the `python3Packages.faiss.passthru` are broken:

    $ nix repl -f.
    nix-repl> python3Packages.faiss.passthru
      cudaPackages = «error: attribute 'cudaPackages' missing»;
      cudaSupport = «error: attribute 'cudaSupport' missing»;
      pythonSupport = «error: attribute 'pythonSupport' missing»;
parent c55e1efd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -105,6 +105,10 @@ stdenv.mkDerivation {
    cp faiss/python/dist/*.whl "$dist/"
  '';

  passthru = {
    inherit cudaSupport cudaPackages pythonSupport;
  };

  meta = {
    description = "Library for efficient similarity search and clustering of dense vectors by Facebook Research";
    mainProgram = "demo_ivfpq_indexing";