diff options
| author | Fabian Affolter <fabian@affolter-engineering.ch> | 2025-01-04 20:45:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-04 20:45:51 +0100 |
| commit | 715b52e5457819bcf04dcc7192f8e34f9f62a4a9 (patch) | |
| tree | 181f55e7ea27c58c92df112510b2a5765bf180bb /pkgs/development/python-modules/llama-cpp-python | |
| parent | 4f75a1919ced12b5cb0d390e2a0178ca52d13927 (diff) | |
| parent | 14c58c5918427906794936529c88a00b0d0e483f (diff) | |
Merge branch 'master' into sqlfluff-bump
Diffstat (limited to 'pkgs/development/python-modules/llama-cpp-python')
| -rw-r--r-- | pkgs/development/python-modules/llama-cpp-python/default.nix | 23 |
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 |
