mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
fetchgit: respect user-provided derivationArgs.env (#553631)
This commit is contained in:
@@ -269,7 +269,7 @@ lib.makeOverridable (
|
||||
// meta.identifiers or { };
|
||||
};
|
||||
|
||||
env = {
|
||||
env = derivationArgs.env or { } // {
|
||||
NIX_PREFETCH_GIT_CHECKOUT_HOOK = finalAttrs.postCheckout;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user