promptfoo & sillytavern: un-pin nodejs 22 (#513097)

This commit is contained in:
j-k
2026-04-24 15:51:21 +00:00
committed by GitHub
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -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";
-4
View File
@@ -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 = ''