From 62c9ec998945ae32a44f84680075b6c9a743ffee Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman <145775305+xokdvium@users.noreply.github.com> Date: Thu, 26 Dec 2024 10:05:24 -0500 Subject: [PATCH] ecwolf: make sure that a tag is fetched MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this change, ecwolf.src.rev was set to the name of a tag. This is generally not recommended. It’s better to set rev to "refs/tags/" [1]. [1]: --- pkgs/by-name/ec/ecwolf/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ec/ecwolf/package.nix b/pkgs/by-name/ec/ecwolf/package.nix index 68b8b503a0448..dee16bc3d3b06 100644 --- a/pkgs/by-name/ec/ecwolf/package.nix +++ b/pkgs/by-name/ec/ecwolf/package.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromBitbucket { owner = "ecwolf"; repo = "ecwolf"; - rev = finalAttrs.version; + rev = "refs/tags/${finalAttrs.version}"; sha256 = "V2pSP8i20zB50WtUMujzij+ISSupdQQ/oCYYrOaTU1g="; };