Can I pass environment variables to `./pants expor...
# general
Can I pass environment variables to
./pants export ::
? When I run the command it fails on compiling grpcio (MacOS). I have solved it by setting a few env variables in my zsh profile, but they don't seem to be present when
./pants export ::
I was expecting something like PANTS_DOCKER_ENV_VARS?
Why were you expecting the "docker" part? You'll actually want; so:
Copy code
env_vars = [ ... ]
Its an unfortunately big hammer that pokes the env var hole into ~every process Pants runs, but that's the only option at the moment I believe.
I wasn't expecting the docker part ro work, but that something similar would exist 🙂 Subprocess environment, I'll use that. Thank you!