fetchgit: respect user-provided derivationArgs.env

This commit is contained in:
Yueh-Shun Li
2026-08-17 19:53:13 +08:00
parent 5822c4d0de
commit 43e5eeb5b8

View File

@@ -267,7 +267,7 @@ lib.makeOverridable (
// meta.identifiers or { };
};
env = {
env = derivationArgs.env or { } // {
NIX_PREFETCH_GIT_CHECKOUT_HOOK = finalAttrs.postCheckout;
};