freaks it

This commit is contained in:
2026-03-03 20:59:58 -05:00
parent c8bc205d3c
commit 5c1ef72f19
2 changed files with 27 additions and 7 deletions

View File

@@ -21,6 +21,7 @@
nix.package = pkgs.lixPackageSets.stable.lix;
nixpkgs.config.packageOverrides = pkgs: {
# Stolen from https://www.nijho.lt/post/llama-nixos/
llama-cpp =
(pkgs.llama-cpp.override {
@@ -32,12 +33,13 @@
blasSupport = true;
}).overrideAttrs
(oldAttrs: rec {
version = "8179";
version = "8184";
src = pkgs.fetchFromGitHub {
owner = "ggml-org";
owner = "aagit";
repo = "llama.cpp";
tag = "b${version}";
hash = "sha256-LzJfbw4Xl3ktaLmys1Y2a6Ncthjb/DjS9qKrdcHE2+Q=";
# tag = "b${version}";
rev = "6ebf2e0d00d31acfc1a1fa9662e9a7d38bd07bf7"; # https://github.com/ggml-org/llama.cpp/pull/19970
hash = "sha256-xryajW0Cs1d+WDijspMTW21FDaZP9Grkb+uErMQCQ48=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT
@@ -75,6 +77,7 @@
} -C $out/bin
chmod +x $out/bin/llama-swap
'';
};
# 🇺🇸