IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/repository_os You can read about the migration, and let us know what you think.Extensions > API reference > repository_os
repository_osVarious data about the current platform Bazel is running on.
string repository_os.archA string identifying the architecture Bazel is running on (the value of the "os.arch" Java property).
dict repository_os.environThe list of environment variables.
string repository_os.nameA string identifying the operating system Bazel is running on (the value of the "os.name" Java property).