frigate: patch path to birdseye graphic

This commit is contained in:
Martin Weinelt 2024-11-22 17:42:03 +01:00
parent 1c07d92099
commit 591ebd39fb
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -78,6 +78,9 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace frigate/detectors/detector_config.py \ substituteInPlace frigate/detectors/detector_config.py \
--replace-fail "/labelmap.txt" "${placeholder "out"}/share/frigate/labelmap.txt" --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 # work around onvif-zeep idiosyncrasy
substituteInPlace frigate/ptz/onvif.py \ substituteInPlace frigate/ptz/onvif.py \
--replace-fail dist-packages site-packages --replace-fail dist-packages site-packages