From d7b8a637773ad15ecfeca35cccf8325ab4f2a5dc Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Fri, 24 Apr 2026 16:16:39 +0200 Subject: [PATCH 1/2] Revert "promptfoo: fix build with nodejs_24" This reverts commit 324aa4ea21ca6d3bcbb7a421ad6e9250e9c9fe64. promptfoo now builds fine with nodejs_24. --- pkgs/by-name/pr/promptfoo/package.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/by-name/pr/promptfoo/package.nix b/pkgs/by-name/pr/promptfoo/package.nix index e59916cc03e5..d8e0ef7e37fa 100644 --- a/pkgs/by-name/pr/promptfoo/package.nix +++ b/pkgs/by-name/pr/promptfoo/package.nix @@ -1,6 +1,5 @@ { buildNpmPackage, - nodejs_22, fetchFromGitHub, lib, }: @@ -18,9 +17,6 @@ buildNpmPackage (finalAttrs: { npmDepsHash = "sha256-mpe00J5iRwaH7hJIDP3fDuJSUOKk01COpOOvF1YJMyg="; - # https://github.com/NixOS/nixpkgs/issues/474535 - nodejs = nodejs_22; - # don't fetch playwright binary env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"; From 669aba2da10a950455ca87d464f70a9325359cb6 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Fri, 24 Apr 2026 16:17:54 +0200 Subject: [PATCH 2/2] Revert "sillytavern: fix build by pinning nodejs to v22" This reverts commit e29bd3cd9a719f4904fc475c2d982b5677d5885f. sillytavern now builds fine with nodejs_24. --- pkgs/by-name/si/sillytavern/package.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/by-name/si/sillytavern/package.nix b/pkgs/by-name/si/sillytavern/package.nix index 37d9e809db22..b2ddfa6af0ff 100644 --- a/pkgs/by-name/si/sillytavern/package.nix +++ b/pkgs/by-name/si/sillytavern/package.nix @@ -1,7 +1,6 @@ { buildNpmPackage, fetchFromGitHub, - nodejs_22, lib, }: buildNpmPackage (finalAttrs: { @@ -18,9 +17,6 @@ buildNpmPackage (finalAttrs: { dontNpmBuild = true; - # https://github.com/NixOS/nixpkgs/issues/474535 - nodejs = nodejs_22; - # These dirs are not installed automatically. # And if they were not in place, the app would try to create them at runtime, which is of course impossible to achieve. postInstall = ''