Skip to content

Commit fb003f8

Browse files
authored
Add support for nixos (#436)
1 parent d834d83 commit fb003f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

toolchain/internal/release_name.bzl

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ def _linux(llvm_version, distname, version, arch):
187187
os_name = "linux-gnueabihf"
188188
elif distname in ["rhel", "ol", "almalinux"]:
189189
os_name = _rhel_osname(arch, version, major_llvm_version, llvm_version)
190+
elif distname == "nixos":
191+
os_name = _ubuntu_osname(arch, "20.04", major_llvm_version, llvm_version)
190192

191193
if not os_name:
192194
fail("Unsupported linux distribution and version: %s, %s" % (distname, version))

0 commit comments

Comments
 (0)