From 326517a5290c34e0cc4da564825a7193a692f2b0 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 10 Jun 2024 12:55:36 +0200 Subject: [PATCH] crowdsec: fix hash --- pkgs/tools/security/crowdsec/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/crowdsec/default.nix b/pkgs/tools/security/crowdsec/default.nix index 20b18545fe53..d53fbce80800 100644 --- a/pkgs/tools/security/crowdsec/default.nix +++ b/pkgs/tools/security/crowdsec/default.nix @@ -7,8 +7,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "crowdsecurity"; repo = pname; - rev = "v${version}"; - hash = "sha256-7E//BhimgHOQ4Plmf1XEXXf7B/fiKRRdl1u3bo8lIn0="; + rev = "refs/tags/v${version}"; + hash = "sha256-3GpSpADtCNvekR7gjbIlqzog7PMog6Sra5tpcnUf/gk="; }; vendorHash = "sha256-kkQYKiOSmFHjhOrYV40YRZX9w6rUue0NSKfw+Bqxb9s=";