Detecting version of NVCC in bazel
<p>I want to detect in bazel what version of nvcc is installed in the system and set specifically flags based on the version. What is the best way to achieve that? I am pretty new to bazel build system.</p>