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