-
Notifications
You must be signed in to change notification settings - Fork 166
Description
I often run into issues where the somewhat leaky hermeticity of bazel hits hard hermeticity enforcements in NixOS, so things that sorta compile with bazel on 'regular' Linux machines are breaking on NixOS.
This often results in BCR modules being broken on NixOS because they exploit some hidden assumptions of the target system. Problem of course is, that this platform is not available as presubmit platform in BCR -- so many modules are broken silently with an uphill battle to fix them one PR at a time by users of a hermetic system.
It would be a real benefit if it was possible to have a NixOS CI platform to choose from (in particular in the BCR so that it is possible to fix things and be sure that they don't backslide.
I suspect the BCR choices of available presubmit platforms hinges on bazelbuild/continuous-integration, hence I file an issue here.
I see that there was work towards a Nix set-up available (#1703) , but then looks like it got removed again. I don't know all the context, but it would be good if this can be re-activated (and stay stuck). I am happy to help if needed.
This is what I see happened before:
- Add BuildKite Docker image for NixOS #1779 Container with Nix was added
- NixOS container switched to Ubuntu container with Nix installed #1799 changed to use Ubuntu + nix package manager.
- Ubuntu (Nix) container removed #1827 Looks like Ubuntu+Nix got removed again :(
CC @rickvanprim as he did a lot of work here