From bfe68c7a5a05042e056d3732f1e1b32e94417371 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 10 Mar 2025 15:32:05 +0200 Subject: [PATCH] Nix: use fetchFrom* tag argument instead of rev See also: https://github.com/NixOS/nixpkgs/pull/355973 . --- snippets/nix.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/nix.json b/snippets/nix.json index 8cb7cce2..8f945fca 100644 --- a/snippets/nix.json +++ b/snippets/nix.json @@ -28,7 +28,7 @@ "fetchFrom${1|GitHub,GitLab,Gitea,Gitiles,BitBucket,Savannah,RepoOrCz,SourceHut|} {", " owner = \"$2\";", " repo = \"$3\";", - " rev = \"${4:v\\${version\\}}\";", + " tag = \"${4:v\\${version\\}}\";", " hash = \"${5:sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=}\";", "};" ],