promptfoo & sillytavern: un-pin nodejs 22 (#513097)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user