mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
b3b672d5a1
Before the change separate-debug-info.sh did the stripping itself. This scheme has a few problems: 1. Stripping happens only on ELF files. *.a and *.o files are skipped. Derivations have to do it manually. Usually incorrectly as they don't run $RANLIB (true for `glibc` and `musl`). 2. Stripping happens on all paths. Ideally only `stripDebugList` paths should be considered. 3. Host strip is called on Target files. This change offloads stripping logic to strip hook. This strips more files for `glibc` and `musl`. Now we can remove most $STRIP calls from individual derivations. Co-authored-by: Sandro <sandro.jaeckel@gmail.com> |
||
---|---|---|
.. | ||
2.7 | ||
3.5 | ||
3.6 | ||
3.7 | ||
3.8 | ||
3.9 | ||
3.10 | ||
3.11 | ||
docs | ||
default.nix | ||
mimetypes.patch | ||
virtualenv-permissions.patch |