Skip to content

Commit bad0ecf

Browse files
authored
frigate.web: fix build on Node 22.12, add missing meta (NixOS#375967)
2 parents d668fb8 + 75188e9 commit bad0ecf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/fr/frigate/web.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
buildNpmPackage,
3+
frigate,
34
src,
45
version,
56
}:
@@ -28,7 +29,11 @@ buildNpmPackage {
2829

2930
npmDepsHash = "sha256-PLs3oCWQjK38eHgdQt2Qkj7YqkfanC8JnLMpzMjNfxU=";
3031

32+
env.NODE_OPTIONS = "--no-experimental-require-module";
33+
3134
installPhase = ''
3235
cp -rv dist/ $out
3336
'';
37+
38+
inherit (frigate) meta;
3439
}

0 commit comments

Comments
 (0)