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»;
This commit is contained in:
Sergei Trofimovich 2024-10-12 16:08:04 +01:00
parent c55e1efd2e
commit adcc088cb9

View File

@ -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";