Found my first build parallelism bug in a `meson` / `ninja` project: https://github.com/nix-community/nixd/pull/662

There I learned that `ninja` has a great
$ ninja -t missingdeps
command. It reports all the missing dependencies after the build.

`ninja` infers those from the tools that can autogenerate dependencies at build time. The example is inferred used C include files from build C source files.

#nixd #bug

nixf: declare Tokens.h dependency for libnixf by trofi · Pull Request #662 · nix-community/nixd

Without the change the build sometimes fails as: @nix { "action": "setPhase", "phase": "buildPhase" } build flags: -j16 [1/37] Generating src/Diag...

GitHub