Skip to content

Commit bfe68c7

Browse files
committed
Nix: use fetchFrom* tag argument instead of rev
See also: NixOS/nixpkgs#355973 .
1 parent efff286 commit bfe68c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/nix.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"fetchFrom${1|GitHub,GitLab,Gitea,Gitiles,BitBucket,Savannah,RepoOrCz,SourceHut|} {",
2929
" owner = \"$2\";",
3030
" repo = \"$3\";",
31-
" rev = \"${4:v\\${version\\}}\";",
31+
" tag = \"${4:v\\${version\\}}\";",
3232
" hash = \"${5:sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=}\";",
3333
"};"
3434
],

0 commit comments

Comments
 (0)