Skip to content

Commit

Permalink
frigate: substitute more paths
Browse files Browse the repository at this point in the history
Fixes the error image for unreachable cameras, the idle image for the
birdseye view and fix cache path in old clip removal function.
  • Loading branch information
mweinelt committed May 24, 2023
1 parent 82c2abd commit d55cec4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/applications/video/frigate/default.nix
Expand Up @@ -94,6 +94,16 @@ python.pkgs.buildPythonApplication rec {
--replace "/media/frigate" "/var/lib/frigate" \
--replace "/tmp/cache" "/var/cache/frigate"
substituteInPlace frigate/http.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}" \
--replace "/tmp/cache/" "/var/cache/frigate"
substituteInPlace frigate/output.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}"
substituteInPlace frigate/record.py \
--replace "/tmp/cache" "/var/cache/frigate"
substituteInPlace frigate/detectors/detector_config.py \
--replace "/labelmap.txt" "${placeholder "out"}/share/frigate/labelmap.txt"
Expand Down

0 comments on commit d55cec4

Please sign in to comment.