aboutsummaryrefslogtreecommitdiffstats
path: root/overlays/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--overlays/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/overlays/default.nix b/overlays/default.nix
index f9a7dd5..a324781 100644
--- a/overlays/default.nix
+++ b/overlays/default.nix
@@ -44,6 +44,17 @@
# };
#});
+ llama-cpp = prev.llama-cpp.overrideAttrs (old: rec {
+ pname = "llama-cpp";
+ src = prev.fetchFromGitHub {
+ owner = "ggml-org";
+ repo = "llama.cpp";
+ tag = version;
+ hash = "sha256-8Kjey4MaifK/GDEJ3dyamCmPq7AdtAxf+Zid6CKXFvQ=";
+ };
+ version = "0.7.0";
+ });
+
# to compute this hash, use: nix flake prefetch ${url}
# because fetchzip computes the hash of the NAR basically instead of the flat file when doing: nix-hash --base64 --flat --sri --type sha256 ${file}
proton-ge-bin = prev.proton-ge-bin.overrideAttrs (old: rec {