Unverified Commit 6d585296 authored by j-k's avatar j-k Committed by GitHub
Browse files

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

parents a81bd087 669aba2d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
{
  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";

+0 −4
Original line number Diff line number Diff line
{
  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 = ''