From adc720421b965f9dddc1033be26bfa7aa02e3405 Mon Sep 17 00:00:00 2001 From: adeci Date: Sun, 19 Oct 2025 19:49:32 -0400 Subject: [PATCH] python3Packages.chromadb: anonymized telemetry opt-in --- pkgs/development/python-modules/chromadb/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index 6f7605e74ae5..ad01ae1680f7 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -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 = [