From a7023948c060dc4dceba77c1e554ea998c0a53f2 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 27 Oct 2025 23:30:20 +0800 Subject: [PATCH] fetchgit: take passthru --- pkgs/build-support/fetchgit/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 45c7599b1c74..a620f6c09a00 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -60,6 +60,7 @@ lib.makeOverridable ( # Impure env vars (https://nixos.org/nix/manual/#sec-advanced-attributes) # needed for netrcPhase netrcImpureEnvVars ? [ ], + passthru ? { }, meta ? { }, allowedRequisites ? null, # fetch all tags after tree (useful for git describe) @@ -195,7 +196,8 @@ lib.makeOverridable ( passthru = { gitRepoUrl = url; inherit tag; - }; + } + // passthru; } ) )