2.6 KiB
Package patches
Each package follows the GnuTLS layout:
default.nixapplies the patch through the package overlay.- A descriptive
.patchfile contains the standalone upstream source change. README.mdexplains the problem, scope, reproduction, upstream status, Nix integration, and recorded validation limits.- Companion
verify-*tools live beside the patch when needed; otherwise the README gives commands for the package's existing tests.
Keep package-specific evidence in its directory. Patch headers explain the
change independently of Nix, and default.nix preserves existing patches.
| Package | Repair |
|---|---|
| Abseil | Public BMI2 header in Electron, Deno, and Signal's vendored copies |
| Backrefs | Match the regex timeout's CPU clock |
| GnuTLS | Wait for the UDP server socket before connecting |
| Jupyter Server | Exercise the correct shared future during reconnect |
| Prometheus | Complete parsing before inspecting the test editor state |
| pytest-xdist | Check worker replacements and allow startup on loaded builders |
| SciPy | Account for floating-point rounding in STFT tests |
| Sentry SDK | Isolate SDK thread mocks from Python's threading module |
| Torchaudio | Compare pitch-shift batches at appropriate precision |
| TorchCodec | Match the reference MP3 encoder's sample format |
Local NixOS integration
../default.nix imports this directory's
default.nix, which wires each package's override into the
package set. Abseil repairs several vendored copies and is gated on
x86-64-v3; Prometheus patches its separate assets derivation; Python
packages use pythonPackagesExtensions.
The pytest-xdist directory also owns its outer-worker limit and remote-worker event timeout. These package overrides add no skipped tests. Existing nixpkgs exclusions remain separate from these repairs.
The test-exclusion review used Python 3.14.7 and the pinned x86-64-v3 package set. Host-flake evaluation verified patch wiring, Python install checks, removal of the local skips, and Prometheus's reference to the patched assets. Jupyter and Sentry package tests used the preceding dependency set with the new package patch to avoid unrelated rebuilds after pytest-xdist changed. No complete NixOS rebuild was performed. Individual READMEs distinguish package builds, focused tests, and checks that have not been run.