From 28b036f2162613a045199c13705550fb4d7f94e9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 22 Nov 2024 17:42:03 +0100 Subject: [PATCH] frigate: patch path to birdseye graphic --- pkgs/by-name/fr/frigate/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/fr/frigate/package.nix b/pkgs/by-name/fr/frigate/package.nix index 03229c25c5f95d..4578d709a0acae 100644 --- a/pkgs/by-name/fr/frigate/package.nix +++ b/pkgs/by-name/fr/frigate/package.nix @@ -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