~/talk

Remote Execution with Rules_nixpkgs: Design and Deployment

Talkat BazelCon 2024 · 2024-10-14..10-15· [devops-and-delivery]
links:none on file
slides:none on file

rules_nixpkgs integrates Nix into Bazel but breaks remote execution; this work implements a solution combining remote Nix execution with Bazel remote workers and an NFS-shared Nix store so remote actions find nixpkgs outputs. Deployment uses build‑plan hashing, link options to avoid duplicating blobs, patched Nix evaluation to reduce repeated calls, and BuildBuddy for execution. On a large mono‑repo, cold CI runs (80m) drop to 19m with populated caches; NFS and cache tuning still require more work.

AI-written summary · about

  1. 0:00Introduction
  2. 5:49Motivation for remote execution
  3. 10:04Problem statement and design
  4. 13:58Architecture and workflow
  5. 16:25Codebase preparations
  6. 20:24Infrastructure for Nix
  7. 21:07Benchmarking results
  8. 23:56Network transfer and caching
  9. 26:30Validation and achievements
  10. 27:56Future work
  11. 30:50Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.