From 00d99413675a8153788b6f72791fb48c9fd4fcec Mon Sep 17 00:00:00 2001 From: Mirko Lenz Date: Thu, 4 Jun 2026 13:17:55 +0200 Subject: [PATCH] llama-cpp: use nodejs_latest Pinned the web UI build to nodejs_latest because the current nodejs lts (v24.15.0) has an ESM-loader file-descriptor regression (https://github.com/nodejs/node/issues/62012) that throws EBADF on fstat and, on darwin, aborts the vite/SvelteKit build with a libuv kqueue assertion. Assisted-by: Claude Code (Opus 4.8) --- pkgs/by-name/ll/llama-cpp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 12d35d1db2f3..afbdd8906428 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -30,7 +30,7 @@ blas, fetchNpmDeps, - nodejs, + nodejs_latest, npmHooks, pkg-config, @@ -106,7 +106,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { cmake installShellFiles ninja - nodejs + nodejs_latest npmHooks.npmConfigHook pkg-config spirv-headers