frigate.web: fix build on Node 22.12, add missing meta (#375967)

This commit is contained in:
Martin Weinelt
2025-01-23 14:27:59 +01:00
committed by GitHub
+5
View File
@@ -1,5 +1,6 @@
{
buildNpmPackage,
frigate,
src,
version,
}:
@@ -28,7 +29,11 @@ buildNpmPackage {
npmDepsHash = "sha256-PLs3oCWQjK38eHgdQt2Qkj7YqkfanC8JnLMpzMjNfxU=";
env.NODE_OPTIONS = "--no-experimental-require-module";
installPhase = ''
cp -rv dist/ $out
'';
inherit (frigate) meta;
}