python3Packages.chromadb: anonymized telemetry opt-in

This commit is contained in:
adeci
2025-10-20 14:50:24 -04:00
parent a1c37966f6
commit adc720421b
@@ -93,6 +93,11 @@ buildPythonPackage rec {
# Nixpkgs is taking the version from `chromadb_rust_bindings` which is versioned independently
substituteInPlace pyproject.toml \
--replace-fail "dynamic = [\"version\"]" "version = \"${version}\""
# Flip anonymized telemetry to opt in versus current opt-in out for privacy
substituteInPlace chromadb/config.py \
--replace-fail "anonymized_telemetry: bool = True" \
"anonymized_telemetry: bool = False"
'';
pythonRelaxDeps = [