faiss: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-17 21:34:57 +11:00
parent ab6176ac5b
commit 0149ddf7a0

View File

@ -8,6 +8,7 @@
, cudaCapabilities ? [ "60" "70" "80" "86" ]
, pythonSupport ? true
, pythonPackages
, llvmPackages
, blas
, swig
, addOpenGLRunpath
@ -47,6 +48,8 @@ stdenv.mkDerivation {
pythonPackages.setuptools
pythonPackages.pip
pythonPackages.wheel
] ++ lib.optionals stdenv.cc.isClang [
llvmPackages.openmp
];
propagatedBuildInputs = lib.optionals pythonSupport [