From 7db3d8617a49f81f61b452bfd248aa198a1e20e7 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Wed, 17 Jun 2026 01:39:16 -0400 Subject: [PATCH] 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 --- pkgs/build-support/fetchsourcehut/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/fetchsourcehut/default.nix b/pkgs/build-support/fetchsourcehut/default.nix index 2433238aa698..3291cfc9bef6 100644 --- a/pkgs/build-support/fetchsourcehut/default.nix +++ b/pkgs/build-support/fetchsourcehut/default.nix @@ -90,6 +90,7 @@ makeOverridable ( in cases.${fetcher}.fetch cases.${fetcher}.arguments // { + inherit tag; rev = rev'; meta.homepage = "${baseUrl}"; }