521b98e1

crate2nix (IFD) experiment

A comparison experiment to the crane-based `your-first-flake` branch: builds
bombadil with **crate2nix in IFD mode** (`generatedCargoNix`) — **per-crate
derivations, no committed `Cargo.nix`**.

## What it shows
- **Finest-grained caching.** One derivation per crate: editing one workspace
  crate rebuilds only that crate and its dependents, never the ~377 external
  dependency crates. Proof: `./nix/experiments/per-crate-cache.sh`.
- **The cost for this repo.** It needs a patch to crate2nix itself
  (`nix/crate2nix-git-workspace.patch`) so that `boa_engine` — a git dependency
  that is a member of the boa monorepo's workspace — vendors with a
  self-contained, de-inherited manifest. Without it, generation fails with
  `failed to find a workspace root`. Plus a `bombadil-cli` build-script override
  for the workspace-relative inspect path, and IFD at eval time.

See `nix/README.md` for the full write-up and the crane-vs-crate2nix table.

## CI
Running on NixCI:
https://nix-ci.com/gh:NorfairKing:bombadil/crate2nix-experiment/dbd8d702a0204c4f3140825f1e14e743f93ff714