mopidy-iris: turn off Google Analytics per default

This commit is contained in:
Sandro Jäckel
2026-05-14 23:09:45 +02:00
parent efb6a3b7be
commit e37f833de7
+6
View File
@@ -20,6 +20,12 @@ pythonPackages.buildPythonApplication (finalAttrs: {
hash = "sha256-Fc0LktN8pCRnrvk9uudXu10J3XfrRbdGlcDKXFNQzmQ=";
};
postPatch = ''
# turn off Google Analytics per default
substituteInPlace src/js/store/index.js \
--replace-fail 'allow_reporting: true' 'allow_reporting: false'
'';
npmDeps = fetchNpmDeps {
inherit (finalAttrs) src;
hash = "sha256-aQHq80SLaOPOANYV+aDTWC/bxfc1it5iDeRJ8L5iuEU=";