scanservjs: fix build

This commit is contained in:
chayleaf 2025-02-08 23:20:24 +07:00
parent 3a228057f5
commit 715fe98f0e
No known key found for this signature in database
GPG Key ID: 78171AD46227E68E

View File

@ -3,11 +3,14 @@
fetchFromGitHub,
buildNpmPackage,
fetchNpmDeps,
nodejs,
nodejs_20,
replaceVars,
}:
let
# Build fails on node 22, presumably because of esm.
# https://github.com/NixOS/nixpkgs/issues/371649
nodejs = nodejs_20;
version = "2.27.1";
src = fetchFromGitHub {
owner = "sbs20";