summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-07-30 02:51:30 +0200
committerGitHub <noreply@github.com>2023-07-30 02:51:30 +0200
commita7ce91e7ee02e172165b12e93a79178a5c438e98 (patch)
tree6e34faa389de236d600b95c58bcfca3a5dd8559f
parentMerge pull request #246091 from NixOS/backport-246057-to-release-23.05 (diff)
parentfrigate: fix serving of clips (diff)
downloadnixpkgs-a7ce91e7ee02e172165b12e93a79178a5c438e98.tar.gz
Merge pull request #246121 from NixOS/backport-246065-to-release-23.05
[Backport release-23.05] frigate: fix serving of clips
-rw-r--r--pkgs/applications/video/frigate/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/frigate/default.nix b/pkgs/applications/video/frigate/default.nix
index 663d7e769cfe..062398835ab1 100644
--- a/pkgs/applications/video/frigate/default.nix
+++ b/pkgs/applications/video/frigate/default.nix
@@ -92,11 +92,11 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace frigate/const.py \
--replace "/media/frigate" "/var/lib/frigate" \
- --replace "/tmp/cache" "/var/cache/frigate"
+ --replace "/tmp/cache" "/var/cache/frigate/"
substituteInPlace frigate/http.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}" \
- --replace "/tmp/cache/" "/var/cache/frigate"
+ --replace "/tmp/cache/" "/var/cache/frigate/"
substituteInPlace frigate/output.py \
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}"