dbd8d702

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Add a crate2nix (IFD) flake as a comparison to the crane branch

Builds bombadil with crate2nix's generatedCargoNix (per-crate derivations, no
committed Cargo.nix, paid for with IFD) on x86_64-linux.

Requires nix/crate2nix-git-workspace.patch, which teaches crate2nix to vendor
git workspace-member dependencies (boa_engine, from the boa monorepo) with a
self-contained, de-inherited manifest -- otherwise generation fails with
'failed to find a workspace root'. See nix/README.md.

Per-crate caching is demonstrated by nix/experiments/per-crate-cache.sh: editing
one workspace crate rebuilds only that crate and its dependents, never the
external dependency crates.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 1s 1s 1s 0s
Eval 16m11s 0s 34h02m28s 34h18m39s 16m09s
Build - - - - -
Suite 0s 2s 34h18m39s 34h18m39s 34h18m37s

Timeline

0s