fetchgit: takes passthru argument
This commit is contained in:
parent
ef1e2ef8c2
commit
d60eb7471e
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue