Skip to content

Commit adcc088

Browse files
committed
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»;
1 parent c55e1ef commit adcc088

File tree

1 file changed

+4
-0
lines changed
  • pkgs/development/libraries/science/math/faiss

1 file changed

+4
-0
lines changed

pkgs/development/libraries/science/math/faiss/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ stdenv.mkDerivation {
105105
cp faiss/python/dist/*.whl "$dist/"
106106
'';
107107

108+
passthru = {
109+
inherit cudaSupport cudaPackages pythonSupport;
110+
};
111+
108112
meta = {
109113
description = "Library for efficient similarity search and clustering of dense vectors by Facebook Research";
110114
mainProgram = "demo_ivfpq_indexing";

0 commit comments

Comments
 (0)