summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/llama-cpp-python
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/llama-cpp-python')
-rw-r--r--pkgs/development/python-modules/llama-cpp-python/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/llama-cpp-python/default.nix b/pkgs/development/python-modules/llama-cpp-python/default.nix
index 90e2d9f7d0cb..12ee8778bebb 100644
--- a/pkgs/development/python-modules/llama-cpp-python/default.nix
+++ b/pkgs/development/python-modules/llama-cpp-python/default.nix
@@ -80,9 +80,7 @@ buildPythonPackage rec {
]
);
- preBuild = ''
- export CMAKE_BUILD_PARALLEL_LEVEL="$NIX_BUILD_CORES"
- '';
+ enableParallelBuilding = true;
nativeBuildInputs = [
cmake