42f2702f

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

Enable test suite in nix flake check

- Fix enterDetail field ambiguity (GHC 9.10 stricter resolution)
- Add nasm and gnumake as test tool deps for building example programs
- Add glibc.static via LIBRARY_PATH for statically-linked C examples
- Patch Makefile: drop nasm -Werror (nasm 3.x rejects old abs relocations)
- Patch Makefile: drop gcc -Werror, add -U_FORTIFY_SOURCE (GCC 15 fortify detects intentional bad pointer)
- Fix pipe test: modern bash uses pipe2 instead of pipe
- Fix mprotect test: newer glibc makes >= 1 mprotect calls (not exactly 1)
- Fix lstat test: modern stat uses statx (pending with explanation)
- Disable haddock (glibc.static libm.a incompatible with GHC 9.10 haddock)

Suite timing

Time to Start Worker time Duration Time to finish
Config 1m56s 2s 2s 1m59s
Eval 1m59s 13s 13s 2m13s
Build 2m24s 1m04s 2m19s 4m43s
Test - - - -
Deploy - - - -
Suite 1m56s 1m20s 2m46s 4m43s

Timeline

0s2m2m10s2m30s2m40s2m50s3m3m10s4m