From d60eb7471e4d7d1ef62d8471b7714321b8d1f001 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Thu, 7 Mar 2024 17:11:29 +0000 Subject: [PATCH] fetchgit: takes passthru argument --- pkgs/build-support/fetchgit/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index 66bb3b7..83811e8 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -27,6 +27,7 @@ lib.makeOverridable ( , # Impure env vars (https://nixos.org/nix/manual/#sec-advanced-attributes) # needed for netrcPhase netrcImpureEnvVars ? [] +, passthru ? {} , meta ? {} , allowedRequisites ? null }: @@ -103,7 +104,7 @@ stdenvNoCC.mkDerivation { inherit preferLocalBuild meta allowedRequisites; - passthru = { + passthru = passthru // { gitRepoUrl = url; }; }