Files
John Ericson aa6fcb683a threads: make it the threading package itself
`threads` was `{ model, package }`, but more recently the threading
packages also declare their model as `passthru.threadModel` (e.g. `mcf`
for `windows.mcfgthreads`, `posix` for `windows.pthreads`). The latter
technique is more idiomatic for Nixpkgs, and was done as part of the GCC
NG work.

Now, let's roll that out everywhere. Make `threads` just the package, or
`null`, and read the model off it.

- GCC "legacy": `gcc` now takes `threadsCross` as that package and
  derives `--enable-threads` from it, still defaulting to `win32`.

  - `dxvk`, because it was overriding `gcc`, is updated accordingly.

- GCC NG: `gccNGPackages` no longer needs to duplicate the logic. It can
  just use `threads` rather than make its own. Some comments were moved
  around to better homes accordingly.

No derivation hashes should be changed.

Assisted-by: Claude Code (Claude Opus 5.5)
2026-10-26 01:07:49 -04:00
..
2026-09-05 23:29:33 +02:00