frigate: patch path to birdseye graphic

(cherry picked from commit 591ebd39fb)
This commit is contained in:
Martin Weinelt 2024-11-22 17:42:03 +01:00 committed by github-actions[bot]
parent 8f1c9f2047
commit 4324f31113

View File

@ -78,6 +78,9 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace frigate/detectors/detector_config.py \
--replace-fail "/labelmap.txt" "${placeholder "out"}/share/frigate/labelmap.txt"
substituteInPlace frigate/output/birdseye.py \
--replace-fail "/opt/frigate/" "${placeholder "out"}/${python.sitePackages}/"
# work around onvif-zeep idiosyncrasy
substituteInPlace frigate/ptz/onvif.py \
--replace-fail dist-packages site-packages