Files
nixpkgs/pkgs/by-name/li/lib25519/environment-variable-tools.patch
pancho horrillo 80d55ec68f lib25519: update 20241004 -> 20260614
… and refresh the patch, which didn’t apply anymore:

Upstream has begun supporting an env var named $CROSS as a mechanism for
cross-compiling.  We now piggy-back on those points of the code the
check for the Nixpkgs stdenv environment vars relevant here ($NM,
$OBJDUMP).  $CC handling is left as it was, save for an offset
adjustment.  The patch now applies cleanly.

Also:
- Add capstone as a nativeBuildInput, which the project now requires

- Enable strictDeps, and registered valgrind also as a buildInput

- Enable __structuredAttrs

- Restore build on aarch64-darwin:
 - valgrind is currently broken there, so gate its use
 - drop ELF-only assembly annotations
 - exclude python script from being processed by install_name_tool

Ref: https://github.com/ngi-nix/projects/issues/102

This work is done as part of Summer of Nix 2026.
2026-08-07 16:59:18 +02:00

1.9 KiB