fetchgit: takes passthru argument

This commit is contained in:
Yueh-Shun Li 2024-03-07 17:11:29 +00:00 committed by Abhiram
parent ef1e2ef8c2
commit d60eb7471e

View file

@ -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;
};
}