From a8559b4e5742c3d70ee42e540db8a92a41f8852d Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Wed, 29 Apr 2026 21:37:51 +0300 Subject: [PATCH] fmt: fix changelog file extension in v10, the upstream switched from .rst to .md --- pkgs/development/libraries/fmt/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/fmt/default.nix b/pkgs/development/libraries/fmt/default.nix index 3b9a89e670f4..538d53284787 100644 --- a/pkgs/development/libraries/fmt/default.nix +++ b/pkgs/development/libraries/fmt/default.nix @@ -60,7 +60,11 @@ let used as a fast and safe alternative to printf and IOStreams. ''; homepage = "https://fmt.dev/"; - changelog = "https://github.com/fmtlib/fmt/blob/${version}/ChangeLog.rst"; + changelog = + let + ext = if lib.versionOlder version "10" then "rst" else "md"; + in + "https://github.com/fmtlib/fmt/blob/${version}/ChangeLog.${ext}"; downloadPage = "https://github.com/fmtlib/fmt/"; maintainers = [ ]; license = lib.licenses.mit;