python312Packages.llama-cpp-python: respect NIX_BUILD_CORES

This commit is contained in:
Ihar Hrachyshka
2025-01-27 09:11:34 -05:00
parent a0b45f4b4e
commit a8b2a4dbbd
@@ -56,6 +56,10 @@ buildPythonPackage rec {
]
);
preBuild = ''
export CMAKE_BUILD_PARALLEL_LEVEL="$NIX_BUILD_CORES"
'';
nativeBuildInputs = [
cmake
ninja