forked from auxolotl/core
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)
|
, # 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