dvc: disable telemetry

This commit is contained in:
Ben Darwin 2023-06-29 15:49:16 -04:00
parent 139d9c0c6a
commit 59467cc1d7

View File

@ -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"
'';