From a36355b3f46977fe117742f07e230683f8179d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Guimmara?= Date: Thu, 30 Apr 2026 09:02:04 +0200 Subject: [PATCH] docker-color-output: fix changelog URL Due to inconsistent tag naming (some have the 'v' prefix, some don't), the URL to the newer releases was broken. This was noticed by #514132 --- pkgs/by-name/do/docker-color-output/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/do/docker-color-output/package.nix b/pkgs/by-name/do/docker-color-output/package.nix index 45b1918d3ae7..7136174ab2cc 100644 --- a/pkgs/by-name/do/docker-color-output/package.nix +++ b/pkgs/by-name/do/docker-color-output/package.nix @@ -12,6 +12,7 @@ buildGoModule (finalAttrs: { src = fetchFromGitHub { owner = "devemio"; repo = "docker-color-output"; + # Warning: tag names are inconsistent: some have the 'v' prefix, some don't. tag = "v${finalAttrs.version}"; hash = "sha256-Rpym9YckgJ583zgPpC/mQW1IGgQUppemFhAecgy3M8A="; }; @@ -31,7 +32,9 @@ buildGoModule (finalAttrs: { mainProgram = "docker-color-output"; license = lib.licenses.mit; homepage = "https://github.com/devemio/docker-color-output"; - changelog = "https://github.com/devemio/docker-color-output/releases/tag/${finalAttrs.version}"; + # Note that due to inconsistent tag names (see above comment), + # we might want to check the URL before committing. + changelog = "https://github.com/devemio/docker-color-output/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ sguimmara ]; }; })