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.nix23
1 files changed, 8 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/llama-cpp-python/default.nix b/pkgs/development/python-modules/llama-cpp-python/default.nix
index 56907ada323b..f534b895a69b 100644
--- a/pkgs/development/python-modules/llama-cpp-python/default.nix
+++ b/pkgs/development/python-modules/llama-cpp-python/default.nix
@@ -13,9 +13,6 @@
pyproject-metadata,
scikit-build-core,
- # buildInputs
- apple-sdk_11,
-
# dependencies
diskcache,
jinja2,
@@ -70,18 +67,14 @@ buildPythonPackage rec {
scikit-build-core
];
- buildInputs =
- lib.optionals cudaSupport (
- with cudaPackages;
- [
- cuda_cudart # cuda_runtime.h
- cuda_cccl # <thrust/*>
- libcublas # cublas_v2.h
- ]
- )
- ++ lib.optionals stdenv.hostPlatform.isDarwin [
- apple-sdk_11
- ];
+ buildInputs = lib.optionals cudaSupport (
+ with cudaPackages;
+ [
+ cuda_cudart # cuda_runtime.h
+ cuda_cccl # <thrust/*>
+ libcublas # cublas_v2.h
+ ]
+ );
dependencies = [
diskcache