llama-cpp: remove git build dependency

`git` is used in upstream build system to determine the package version
from git history depth. We are not running from a git checkout, so `git`
is useless. (We handle version calculation during `src` preparation.)

Moreover, having `git` in the build scope results in versions captured
in `cmake` files as `unknown` / `dirty`.
This commit is contained in:
Ihar Hrachyshka
2025-11-15 17:06:18 -05:00
parent e049d2c1ad
commit 4d01fc544b

View File

@@ -36,7 +36,6 @@
vulkan-headers, vulkan-headers,
vulkan-loader, vulkan-loader,
ninja, ninja,
git,
}: }:
let let
@@ -92,7 +91,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
cmake cmake
ninja ninja
pkg-config pkg-config
git
] ]
++ optionals cudaSupport [ ++ optionals cudaSupport [
cudaPackages.cuda_nvcc cudaPackages.cuda_nvcc