Extensions > API reference > repository_os

repository_os

Various data about the current platform Bazel is running on.

Members

arch

string repository_os.arch

A string identifying the architecture Bazel is running on (the value of the "os.arch" Java property).

environ

dict repository_os.environ

The list of environment variables.

name

string repository_os.name

A string identifying the operating system Bazel is running on (the value of the "os.name" Java property).