summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/llama-cpp-python
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2025-01-04 14:07:58 +0100
committerGitHub <noreply@github.com>2025-01-04 14:07:58 +0100
commita022b0e66b4c056d1dda56198bad02bd62cb8696 (patch)
treefdfc9972142e6cc1460536283026b828adcab9e6 /pkgs/development/python-modules/llama-cpp-python
parent293f832365699e6e028737ac1ad35b7428c97da5 (diff)
parenta914df7449b484ae25c59e016cc6590e17d86f64 (diff)
Merge branch 'master' into auto-update/opensnitch-ui
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