Instead of having the run_command function setting the env from the buildEnv, this is the dependency that create the env and then pass it to the run_command function. This way, each dependency will be able to set a specific env.