about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-04-13 00:42:56 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-04-14 20:39:55 +0200
commite62c51a05c3bd87c5fc6bfdb42a96f8a3a197450 (patch)
tree682f7f5167a8d1e728790566852b6b0b0dd26bbf /pkgs/applications/video
parent17bd78bfb1c29bef7e15fd9ed0e6cb1c3278d0d3 (diff)
frigate: fix path to onvif wsdl files
Frigate assumes, that all its dependencies are in the same site-packages
directory as frigate itself, which is not the case with how we link
together environments using the PYTHONPATH.
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/frigate/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/video/frigate/default.nix b/pkgs/applications/video/frigate/default.nix
index 9aee25c46ce55..cf381a5f42658 100644
--- a/pkgs/applications/video/frigate/default.nix
+++ b/pkgs/applications/video/frigate/default.nix
@@ -65,6 +65,12 @@ python.pkgs.buildPythonApplication rec {
       url = "https://github.com/blakeblackshear/frigate/commit/56bdacc1c661eff8a323e033520e75e2ba0a3842.patch";
       hash = "sha256-s/goUJxIbjq/woCEOEZECdcZoJDoWc1eM63sd60cxeY=";
     })
+    (fetchpatch2 {
+      # https://github.com/blakeblackshear/frigate/pull/10967
+      name = "frigate-wsdl-path.patch";
+      url = "https://github.com/blakeblackshear/frigate/commit/b65656fa8733c1c2f3d944f716d2e9493ae7c99f.patch";
+      hash = "sha256-taPWFV4PldBGUKAwFMKag4W/3TLMSGdKLYG8bj1Y5mU=";
+    })
   ];
 
   postPatch = ''