Hello!
We are trying to use --override_repository option to use some local rules instead of getting them from upstream (for example rules_cc, etc) and we don't want to change WORKSPACE file to set them up (via local_repository), just want to be able to configure it via flags in .bazelrc.
But --override_repository requires an absolute path (which may differ on different machines).
These repositories are under the main WORKSPACE tree.
Is it possible to use some variable/template in bazelrc file to get path to WORKSPACE root? Or some other ways to do it?
It seems that %workspace% works only for imports and some other specific flags :(
Thanks,
Kirill