diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-08-07 09:05:33 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-08-07 12:49:37 +0100 |
commit | b3b672d5a16a0e99dc112b9f65436555b11c3ab7 (patch) | |
tree | 0742d0f2240ca07aa5482e6106401b4dce5823c4 /.version | |
parent | cfd4ea64f48a846525e3b7bc0e2074ffbce6b1ce (diff) | |
download | nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar.gz nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar.bz2 nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar.lz nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar.xz nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.tar.zst nixpkgs-b3b672d5a16a0e99dc112b9f65436555b11c3ab7.zip |
setup-hooks/separate-debug-info.sh: don't inhibit strip hook
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>
Diffstat (limited to '.version')
0 files changed, 0 insertions, 0 deletions