1# Buck2 project root. The prelude is BUNDLED with the buck2 binary (via 2# [external_cells]) so it always matches the version in the nix devshell — a 3# checked-in prelude drifts and breaks with "attribute not available" the day 4# the binary and the prelude disagree. Cargo.toml is the dependency source of 5# truth; reindeer generates third-party//rust from it. 6[cells] 7root = . 8prelude = prelude 9toolchains = toolchains 10none = none 11 12[external_cells] 13prelude = bundled 14 15[cell_aliases] 16config = prelude 17fbcode = none 18fbsource = none 19buck = none 20 21[parser] 22target_platform_detector_spec = target:root//...->prelude//platforms:default 23 24[build] 25execution_platforms = root//platforms:execution 26# nyx has 10 cores. Leave one idle so the host (WSLg, the window, the user's 27# desktop) stays responsive while several agents build (user, 2026-09-22). 28threads = 9 29 30# Record when each artifact in buck-out was last used, so that 31# `buck2 clean --stale <age>` can prune old build variants without a full 32# rebuild. Without it, stale-clean finds nothing, and deleting variants by 33# hand desyncs the daemon (2026-09-22: a hand prune broke a build-script 34# output the daemon still believed materialized). 35[buck2] 36sqlite_materializer_state = true