propagateBuildInputs
pkgs.propagateBuildInputs
Docs pulled from | This Revision | about 1 hour ago
Modify a stdenv so that all buildInputs are implicitly propagated to consuming derivations
Inputs
stdenv
-
1. Function argument
Noogle detected
Implementation
The following is the current implementation of this function.
propagateBuildInputs = stdenv:
stdenv.override (old: {
mkDerivationFromStdenv = extendMkDerivationArgs old (args: {
propagatedBuildInputs = (args.propagatedBuildInputs or []) ++ (args.buildInputs or []);
buildInputs = [];
});
});