feat(overlays): pin llama-cpp-rocm to am17an/mtp-clean fork

Override the unstable llama-cpp-rocm src to track the am17an/llama.cpp
mtp-clean branch (rev 267f8af). Replaces upstream's leaveDotGit-based
COMMIT extraction with a direct postFetch write so the source hash is
deterministic without a git clone. The fork's webui package-lock differs
from upstream, so npmDepsHash is repinned.
This commit is contained in:
Harald Hoyer 2026-05-06 08:43:46 +02:00
parent 927e575828
commit 55b74f0caf

View file

@ -6,12 +6,25 @@ final: prev: {
tailscale tailscale
# claude-code # claude-code
qwen-code qwen-code
llama-cpp-rocm # llama-cpp-rocm
# open-webui # open-webui
# vscode # vscode
# nodejs_20 # nodejs_20
; ;
llama-cpp-rocm = channels.unstable.llama-cpp-rocm.overrideAttrs (_: {
src = prev.fetchFromGitHub {
owner = "am17an";
repo = "llama.cpp";
rev = "267f8afe857b7bd1a49e4fde9138ab0f7be36625";
hash = "sha256-aMN5ur1aRi2OQ+Jc5aYEi5HUVvzmFsXT8y9O/01rUWU=";
postFetch = ''
echo -n "267f8af" > $out/COMMIT
'';
};
npmDepsHash = "sha256-k62LIbyY2DXvs7XXbX0lNPiYxuYzeJUyQtS4eA+68f8=";
});
/* /*
gnome-remote-desktop = channels.unstable.gnome-remote-desktop.overrideAttrs (prevAttrs: { gnome-remote-desktop = channels.unstable.gnome-remote-desktop.overrideAttrs (prevAttrs: {
patches = (prevAttrs.patches or [ ]) ++ [ patches = (prevAttrs.patches or [ ]) ++ [