Packaging Bazel and Bazel-based packages
- Track: Nix and NixOS devroom
- Room: H.1302 (Depage)
- Day: Sunday
- Start: 10:00
- End: 10:25
- Video only: h1302
- Chat: Join the conversation!
Bazel is a build system to rule them all. It tries to enforce purity on it's own, and has not been built around the idea that it could be used inside another build system, like... Nix! This makes it really difficult to package, and even more difficult to make it cooperate with Nix to build other packages.
This talk will build upon on my experience packaging and testing Bazel 7.0.0 for nixpkgs. Going through the most interesting fixes required to make it work, we will also discuss hermeticity in both build systems, dependencies pinning with lockfiles, sandboxing, caching, remote execution and then some more.
Packaging Bazel for Nix has been an intense experience, and you will get all the nice bits without the hard work !
Speakers
Guillaume Maudoux |