auto-cpufreq: fix another path from /opt to /var/run (#514240)

This commit is contained in:
Naïm Camille Favier
2026-04-28 19:43:03 +00:00
committed by GitHub
+2
View File
@@ -38,6 +38,8 @@ python3Packages.buildPythonPackage rec {
postPatch = ''
substituteInPlace auto_cpufreq/core.py \
--replace-fail "/opt/auto-cpufreq/override.pickle" "/var/run/override.pickle"
substituteInPlace auto_cpufreq/core.py \
--replace-fail "/opt/auto-cpufreq/turbo-override.pickle" "/var/run/turbo-override.pickle"
substituteInPlace scripts/org.auto-cpufreq.pkexec.policy \
--replace-fail "/opt/auto-cpufreq/venv/bin/auto-cpufreq" "$out/bin/auto-cpufreq"
substituteInPlace auto_cpufreq/gui/app.py auto_cpufreq/gui/objects.py \