fixup
This commit is contained in:
parent
1b9fefb118
commit
422f0a80a2
2 changed files with 6 additions and 5 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
2
home.nix
2
home.nix
|
|
@ -204,7 +204,7 @@
|
|||
# extraArgs = [ ];
|
||||
};
|
||||
llama-cpp = {
|
||||
# enable = true;
|
||||
enable = true;
|
||||
package = pkgs.llama-cpp.override {
|
||||
vulkanSupport = true;
|
||||
rpcSupport = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue