about summary refs log tree commit diff
path: root/pkgs/applications/video/frigate/web.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/frigate/web.nix')
-rw-r--r--pkgs/applications/video/frigate/web.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/video/frigate/web.nix b/pkgs/applications/video/frigate/web.nix
index be530c5c3637d..cea410849ec8d 100644
--- a/pkgs/applications/video/frigate/web.nix
+++ b/pkgs/applications/video/frigate/web.nix
@@ -13,12 +13,19 @@ buildNpmPackage {
     substituteInPlace package.json \
       --replace-fail "--base=/BASE_PATH/" ""
 
-    substituteInPlace src/routes/Storage.jsx \
+    substituteInPlace \
+      src/views/system/StorageMetrics.tsx \
+      src/components/card/{AnimatedEvent,Export,Review}Card.tsx \
+      src/components/timeline/EventSegment.tsx \
+      src/pages/Exports.tsx \
+      src/components/player/PreviewThumbnailPlayer.tsx \
       --replace-fail "/media/frigate" "/var/lib/frigate" \
+
+    substituteInPlace src/views/system/StorageMetrics.tsx \
       --replace-fail "/tmp/cache" "/var/cache/frigate"
   '';
 
-  npmDepsHash = "sha256-+36quezGArqIM9dM+UihwcIgmE3EVmJQThuicLgDW4A=";
+  npmDepsHash = "sha256-PLs3oCWQjK38eHgdQt2Qkj7YqkfanC8JnLMpzMjNfxU=";
 
   installPhase = ''
     cp -rv dist/ $out