faiss: unbreak pythonless build

When `pythonSupport = false`, `dist` won't exist.
This commit is contained in:
Jon Gjengset
2024-08-19 15:30:56 +02:00
committed by GitHub
parent dacbc70556
commit dac849b163
@@ -46,11 +46,7 @@ in
stdenv.mkDerivation {
inherit pname version;
outputs = [
"out"
"demos"
"dist"
];
outputs = [ "out" "demos" ] ++ lib.optionals pythonSupport [ "dist" ];
src = fetchFromGitHub {
owner = "facebookresearch";