bazelbuild / platforms

Constraint values for specifying platforms and toolchains
Apache License 2.0
108 stars 71 forks source link

os: add NixOS to the constraint values #10

Closed mboes closed 4 years ago

mboes commented 4 years ago

NixOS uses the Linux kernel, but that's where commonality with the myriad Linux distributions out there stops. Like the different BSD's, NixOS is sufficiently different that it warrants a constraint value. In particular, no non-static binary has any chance of running on NixOS unless it was specifically built for it, because the dynamic linker is in a non-standard location. This means that toolchains downloaded as part of host autoconfiguration that detect Linux (like go_register_toolchains()) always fail on NixOS.

NixOS is a popular operating system used by thousands, one of the most active projects on all of GitHub, and with more unique packages than even Debian, Fedora or Gentoo according to https://repology.org/.

cc @aherrmann

mboes commented 4 years ago

ping

mboes commented 4 years ago

@katre PTAL