~/talk

A new way to manage dependencies: How we extended bzlmod

Talkat BazelCon 2023 · 2023-10-24..10-25
links:none on file
slides:none on file

Migrates package-managed dependencies from WORKSPACE repo rules into bzlmod module extensions that declare direct deps as tags, keep labels stable for easier migration, and use use_repos stanzas plus returned extension metadata so builder automation can auto-fix module.bazel entries (bazel mod graph prints a builder command). Extensions enforce that root/core overrides win to avoid surprising changes, support isolated module extensions for local overrides, and rely on existing repo rules like stack_snapshot and nixpkgs; implemented and working with Bazel 6.3 experimental flags.

AI-written summary · about

  1. 0:00Introduction to dependencies
  2. 1:00Limitations of WORKSPACE
  3. 4:25Overview of Bzlmod
  4. 5:51Haskell ecosystem migration
  5. 12:50Nix packages and isolation
  6. 18:20Managing repo automation
  7. 19:47Conclusion and summary
  8. 21:31Questions and answers
~/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.