From f03e79ebd9c6e52d49cd6e365942ee043beee3ac Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 24 Dec 2024 19:47:51 +0530 Subject: [PATCH] ananicy-cpp: fix build with llvm_19 > error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] Co-authored-by: Reno Dakota Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- pkgs/by-name/an/ananicy-cpp/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/an/ananicy-cpp/package.nix b/pkgs/by-name/an/ananicy-cpp/package.nix index 5727654ea527..b83aa1ca208a 100644 --- a/pkgs/by-name/an/ananicy-cpp/package.nix +++ b/pkgs/by-name/an/ananicy-cpp/package.nix @@ -42,6 +42,12 @@ clangStdenv.mkDerivation (finalAttrs: { url = "https://gitlab.com/ananicy-cpp/ananicy-cpp/-/commit/de6f11978db98bfd13a1e87dcdab61dbe6496710.patch"; hash = "sha256-9bJlFCClddlAEknfqp7Gcij7NX6tqohE2wqoalLoN5I="; }) + # https://gitlab.com/ananicy-cpp/ananicy-cpp/-/merge_requests/30 + (fetchpatch { + name = "fix-build-with-clang-19.patch"; + url = "https://gitlab.com/ananicy-cpp/ananicy-cpp/-/commit/b2589a9b1faa2ecf54aeede40ea781c33bfb09a8.patch"; + hash = "sha256-nfyCdhvnWj446z5aPFCXGi79Xgja8W0Eopl6I30fOBM="; + }) ]; strictDeps = true;