nixpkgs/pkgs/development/interpreters/python/cpython
Sergei Trofimovich b3b672d5a1 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>
2022-08-07 12:49:37 +01:00
..
2.7 pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
3.5
3.6 python37: 3.7.9 -> 3.7.10, fixup patches 2021-02-20 12:13:07 +01:00
3.7 python37, python2: remove win64 workaround to fix aarch64-darwin 2021-03-03 16:02:07 -08:00
3.8 Revert "Revert "python: 3.8.6 -> 3.8.7."" 2021-01-09 13:12:44 +01:00
3.9 cpython: remove upstreamed patch 2021-12-03 13:18:38 -08:00
3.10 python310: 3.10.0a1 -> 3.10.0a2 2020-11-11 23:13:44 -08:00
3.11 python311: 3.11.0b1 -> 3.11.0b3 2022-06-15 01:18:26 +02:00
docs pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
default.nix setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
mimetypes.patch cpython: Pull in the mime-types database 2021-03-14 15:45:15 +01:00
virtualenv-permissions.patch cpython: fix permissions on venv activation scripts 2021-06-28 03:15:04 +02:00