nodejs_22: fix the eval

Without the change the eval fails as:

    $ nix build --no-link -f. nodejs_22
    error:
       error: undefined variable 'fetchpatch2'
       at pkgs/development/web/nodejs/v22.nix:23:6:
           22|     ./bin-sh-node-run-v22.patch
           23|     (fetchpatch2 {
             |      ^
           24|       url = "https://github.com/nodejs/node/commit/d0a6b605fba6cd69a82e6f12ff0363eef8fe1ee9.patch";
This commit is contained in:
Sergei Trofimovich
2024-08-05 21:56:39 +01:00
parent cf88251824
commit d55d1d6902
+1 -1
View File
@@ -1,4 +1,4 @@
{ callPackage, openssl, python3, enableNpm ? true }:
{ callPackage, fetchpatch2, openssl, python3, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {