summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/llama-cpp-python
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2025-01-03 18:04:51 +0000
committerGitHub <noreply@github.com>2025-01-03 18:04:51 +0000
commitb90d1d64862f39c131f09b103c2669c587753d0f (patch)
tree4cf91bdcace86c4854a030db24c2c3337af0b4e8 /pkgs/development/python-modules/llama-cpp-python
parent9fc4688883e242ad7c18cccef541bcaad353f3b8 (diff)
parentf585e482bd221d74f6bb5482ea66d26e7dc7af14 (diff)
Merge master into staging-next
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