jevsnes.git / .buckconfig

Buck2 project root. The prelude is BUNDLED with the buck2 binary (via [external_cells]) so it always matches the version in the nix devshell — a checked-in prelude drifts and breaks with "attribute not available" the day the binary and the prelude disagree. Cargo.toml is the dependency source of truth; reindeer generates third-party//rust from it.

6[cells]
7root = .
8prelude = prelude
9toolchains = toolchains
10none = none
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

nyx has 10 cores. Leave one idle so the host (WSLg, the window, the user's desktop) stays responsive while several agents build (user, 2026-09-22).

28threads = 9

Record when each artifact in buck-out was last used, so that buck2 clean --stale <age> can prune old build variants without a full rebuild. Without it, stale-clean finds nothing, and deleting variants by hand desyncs the daemon (2026-09-22: a hand prune broke a build-script output the daemon still believed materialized).

35[buck2]
36sqlite_materializer_state = true