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