fetchFromSourcehut: expose tag in derivation attrs

Other fetchers (fetchFromGitHub, fetchFromGitLab, etc.) expose tag such
that the attribute src.tag can be accessed. Add this to
fetchFromSourcehut as well.

I need this for a script I'm working on.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-06-17 01:39:16 -04:00
parent 77bd43a9bf
commit 7db3d8617a
@@ -90,6 +90,7 @@ makeOverridable (
in
cases.${fetcher}.fetch cases.${fetcher}.arguments
// {
inherit tag;
rev = rev';
meta.homepage = "${baseUrl}";
}