From 59467cc1d78ad85e199f99ad43e23042aaf56e3b Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Thu, 29 Jun 2023 15:49:16 -0400 Subject: [PATCH] dvc: disable telemetry --- pkgs/applications/version-management/dvc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/version-management/dvc/default.nix b/pkgs/applications/version-management/dvc/default.nix index 04845780614d..cf9ba51ffae1 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" '';