about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-07-26 08:25:50 -0500
committerGitHub <noreply@github.com>2023-07-26 08:25:50 -0500
commit164e79f7ffda005ea321ea5048e4cf58d2c657f6 (patch)
tree976aea92d6c6bda150c2c992d526dd72f3500914
parent357e4872593f22b364065acdcce15804c77205b2 (diff)
parent59467cc1d78ad85e199f99ad43e23042aaf56e3b (diff)
Merge pull request #245396 from bcdarwin/dvc-disable-telemetry
dvc: disable telemetry
-rw-r--r--pkgs/applications/version-management/dvc/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/dvc/default.nix b/pkgs/applications/version-management/dvc/default.nix
index 04845780614de..cf9ba51ffae1e 100644
--- a/pkgs/applications/version-management/dvc/default.nix
+++ b/pkgs/applications/version-management/dvc/default.nix
@@ -26,6 +26,7 @@ python3.pkgs.buildPythonApplication rec {
   ];
 
   postPatch = ''
+    substituteInPlace dvc/analytics.py --replace 'enabled = not os.getenv(DVC_NO_ANALYTICS)' 'enabled = False'
     substituteInPlace dvc/daemon.py \
       --subst-var-by dvc "$out/bin/dcv"
   '';