Merge pull request #245396 from bcdarwin/dvc-disable-telemetry

dvc: disable telemetry
This commit is contained in:
Mario Rodas 2023-07-26 08:25:50 -05:00 committed by GitHub
commit 164e79f7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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