This commit is contained in:
TheK0tYaRa 2026-02-19 14:08:25 +02:00
parent 1b9fefb118
commit 422f0a80a2
2 changed files with 6 additions and 5 deletions

View file

@ -1,12 +1,13 @@
final: prev: {
llama-cpp = prev.llama-cpp.overrideAttrs (old: {
llama-cpp = prev.llama-cpp.overrideAttrs (old: rec {
version = "8018";
src = prev.fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b7897";
hash = "sha256-cc2tqEQEZCBEOQ+xJzmVK8ROjfsWOi6T2iX3KjpaAIU=";
tag = "b${version}";
hash = "sha256-V60fAIZHVse3mD4Q7LodL2UxspdZorDDsSqlB/lMyGE=";
};
nativeBuildInputs = old.nativeBuildInputs ++ [ old.pkgs.curl ];
# nativeBuildInputs = old.nativeBuildInputs ++ [ prev.pkgs.curl ];
});
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(pyFinal: pyPrev: {

View file

@ -204,7 +204,7 @@
# extraArgs = [ ];
};
llama-cpp = {
# enable = true;
enable = true;
package = pkgs.llama-cpp.override {
vulkanSupport = true;
rpcSupport = true;