Skip to content

Commit

Permalink
Merge pull request #177326 from a-m-joseph/pr/fetchgit/allowedRequisites
Browse files Browse the repository at this point in the history
fetchgit: inherit allowedRequisites in mkDerivation
  • Loading branch information
roberth committed Jun 22, 2022
2 parents 6709bf9 + 5ed4944 commit 1751679
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/build-support/fetchgit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in
# needed for netrcPhase
netrcImpureEnvVars ? []
, meta ? {}
, allowedRequisites ? null
}:

/* NOTE:
Expand Down Expand Up @@ -91,7 +92,8 @@ stdenvNoCC.mkDerivation {
"GIT_PROXY_COMMAND" "NIX_GIT_SSL_CAINFO" "SOCKS_SERVER"
];

inherit preferLocalBuild meta;

inherit preferLocalBuild meta allowedRequisites;

passthru = {
gitRepoUrl = url;
Expand Down

0 comments on commit 1751679

Please sign in to comment.