Konstantin Solomatov
Konstantin Solomatov

Reputation: 10332

How to include standard path in bazel

In my project, I want to use some commands which are installed via homebrew on Mac. Unfortunately, bazel doesn't include my modified classpath when I run commands via it. How can I enable such PATH with minimum amount of command line parameters and configurations?

Upvotes: 0

Views: 482

Answers (1)

Konstantin Solomatov
Konstantin Solomatov

Reputation: 10332

There's an --action_env flag which allows to specify environment variables. See more here: https://bazel.build/designs/2016/06/21/environment.html

Upvotes: 2

Related Questions