Commit 324aa4ea authored by aleksana's avatar aleksana
Browse files

promptfoo: fix build with nodejs_24

parent adbb41e6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{
  buildNpmPackage,
  nodejs_22,
  fetchFromGitHub,
  lib,
}:
@@ -17,6 +18,9 @@ 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";