mainsail: update nodejs to version 22

Resolves #515284.

I pinned the version because it does not build with nodejs 24, and is known to have had issues in the past (#477516).

Would be awesome if maintainers could open an issue upstream for them to update their requirements :).
This commit is contained in:
Edgar Pireyn
2026-05-08 12:54:53 +02:00
parent 77d60beab2
commit 308a5b74c9
+2 -2
View File
@@ -2,7 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nodejs_20,
nodejs_22,
}:
buildNpmPackage rec {
@@ -18,7 +18,7 @@ buildNpmPackage rec {
npmDepsHash = "sha256-HIErBrQ0VP4vdCFZe7uT5b1q+QdSSf08CIQmNcSryZ8=";
nodejs = nodejs_20;
nodejs = nodejs_22;
# Prevent Cypress binary download.
env.CYPRESS_INSTALL_BINARY = 0;