fetchgit: takes passthru argument

This commit is contained in:
Yueh-Shun Li 2024-03-07 17:11:29 +00:00 committed by Julie B.
parent 882bdc43f2
commit 7494c65f9a

View file

@ -27,6 +27,7 @@ lib.makeOverridable (
, # Impure env vars (https://nixos.org/nix/manual/#sec-advanced-attributes) , # Impure env vars (https://nixos.org/nix/manual/#sec-advanced-attributes)
# needed for netrcPhase # needed for netrcPhase
netrcImpureEnvVars ? [] netrcImpureEnvVars ? []
, passthru ? {}
, meta ? {} , meta ? {}
, allowedRequisites ? null , allowedRequisites ? null
}: }:
@ -103,7 +104,7 @@ stdenvNoCC.mkDerivation {
inherit preferLocalBuild meta allowedRequisites; inherit preferLocalBuild meta allowedRequisites;
passthru = { passthru = passthru // {
gitRepoUrl = url; gitRepoUrl = url;
}; };
} }