diff --git a/toolchain/internal/common.bzl b/toolchain/internal/common.bzl index 9a402665..af085d40 100644 --- a/toolchain/internal/common.bzl +++ b/toolchain/internal/common.bzl @@ -83,6 +83,8 @@ def _linux_dist(rctx): version = "" if "VERSION_ID" in info: version = info["VERSION_ID"].strip('"') + elif "VERSION_CODENAME" in info: + version = info["VERSION_CODENAME"].strip('"') return distname, version