diff options
-rw-r--r-- | pkgs/development/libraries/science/math/faiss/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/science/math/faiss/default.nix b/pkgs/development/libraries/science/math/faiss/default.nix index 7ea2a913307e4..48d22bf178edc 100644 --- a/pkgs/development/libraries/science/math/faiss/default.nix +++ b/pkgs/development/libraries/science/math/faiss/default.nix @@ -16,8 +16,8 @@ , addOpenGLRunpath , optLevel ? let optLevels = - lib.optional stdenv.hostPlatform.avx2Support "avx2" - ++ lib.optional stdenv.hostPlatform.sse4_1Support "sse4" + lib.optionals stdenv.hostPlatform.avx2Support [ "avx2" ] + ++ lib.optionals stdenv.hostPlatform.sse4_1Support [ "sse4" ] ++ [ "generic" ]; in # Choose the maximum available optimization level |