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:
@@ -1,4 +1,4 @@
|
||||
{ callPackage, openssl, python3, enableNpm ? true }:
|
||||
{ callPackage, fetchpatch2, openssl, python3, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
|
||||
Reference in New Issue
Block a user