makeSetupHook: add propagatedNativeBuildInputs argument

This commit is contained in:
Jonas Heinrich 2025-07-16 15:59:07 +02:00
parent 3e2c2cd8f4
commit 1c840ff21d

View File

@ -740,6 +740,7 @@ rec {
name ? lib.warn "calling makeSetupHook without passing a name is deprecated." "hook",
# hooks go in nativeBuildInputs so these will be nativeBuildInputs
propagatedBuildInputs ? [ ],
propagatedNativeBuildInputs ? [ ],
# these will be buildInputs
depsTargetTargetPropagated ? [ ],
meta ? { },
@ -758,6 +759,7 @@ rec {
inherit meta;
inherit depsTargetTargetPropagated;
inherit propagatedBuildInputs;
inherit propagatedNativeBuildInputs;
strictDeps = true;
# TODO 2023-01, no backport: simplify to inherit passthru;
passthru =