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:
@@ -36,7 +36,6 @@
|
||||
vulkan-headers,
|
||||
vulkan-loader,
|
||||
ninja,
|
||||
git,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -92,7 +91,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
git
|
||||
]
|
||||
++ optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
|
||||
Reference in New Issue
Block a user