nixpkgs/pkgs/build-support/setup-hooks
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
..
make-binary-wrapper Merge pull request #172769 from ncfavier/wrappers-append-args 2022-06-12 11:46:03 +01:00
postgresql-test-hook postgresqlTestHook: init 2022-04-16 17:17:46 +02:00
wrap-gapps-hook wrapGAppsHook: rename argument to makeWrapper 2022-05-10 22:07:56 +02:00
audit-blas.sh setup-hooks/audit-blas.sh: init 2020-04-17 16:24:25 -05:00
audit-tmpdir.sh common setup hooks: set -u robustness 2019-11-01 14:44:43 -04:00
auto-patchelf.py autoPatchelfHook: more precise dependency ignorance 2022-04-11 01:28:55 +00:00
auto-patchelf.sh autoPatchelfHook: fix precise dependency ignorance 2022-04-15 10:35:11 +08:00
autoreconf.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
breakpoint-hook.sh
canonicalize-jars.sh canonicalize-jars-hook: add 2021-10-27 13:21:27 +03:00
compress-man-pages.sh setup-hooks: compress-man-pages.sh: Do not attempt to compress .xz files 2021-08-19 17:13:05 -04:00
copy-desktop-items.sh copyDesktopItems: Use variable for repeated path 2022-04-07 11:04:11 +00:00
copy-pkgconfig-items.sh makePkgconfigItem: init new function to generate pc files 2022-07-20 06:22:39 +03:00
desktop-to-darwin-bundle.sh Merge pull request #165111 from toonn/darwin-bundle-outputBin 2022-04-22 12:04:09 +01:00
die.sh
enable-coverage-instrumentation.sh enable-coverage-instrumentation.sh: Fix unbound variable error 2020-02-28 12:31:50 +01:00
find-xml-catalogs.sh find-xml-catalogues: Ensure XML_CATALOG_FILES is defined 2019-11-01 14:44:44 -04:00
fix-darwin-dylib-names.sh fixDarwinDylibNames: set name of install_name_tool 2021-05-17 00:27:01 +09:00
gog-unpack.sh
install-shell-files.sh Recover the complicated situation after my bad merge 2020-10-26 09:01:04 +01:00
keep-build-tree.sh
ld-is-cc-hook.sh
make-coverage-analysis-report.sh
make-symlinks-relative.sh stdenv: make symlinks that refer to the same output relative 2020-01-15 09:26:40 +01:00
make-wrapper.sh makeWrapper,makeBinaryWrapper: implement --append-flags 2022-05-30 23:07:58 +02:00
move-docs.sh Revert "Merge remote-tracking branch 'origin/python-unstable' into staging-next" 2021-09-05 15:02:25 +02:00
move-lib64.sh common setup hooks: set -u robustness 2019-11-01 14:44:43 -04:00
move-sbin.sh common setup hooks: set -u robustness 2019-11-01 14:44:43 -04:00
move-systemd-user-units.sh hooks: add moveSystemdUserUnitsHook 2020-09-12 18:29:46 +02:00
multiple-outputs.sh stdenv: fix backward multiple outputs conditional 2020-06-29 13:56:27 +00:00
patch-shebangs.sh stdenv/patchShebangs: fix off by one reading old interpreter 2021-02-09 13:05:38 +09:00
prune-libtool-files.sh common setup hooks: set -u robustness 2019-11-01 14:44:43 -04:00
reproducible-builds.sh stdenv: conservative undefined variables 2021-08-03 12:43:34 +09:00
role.bash pkgs/build-support: Redirect to standard error rather than file "2" 2021-11-11 18:14:21 +13:00
separate-debug-info.sh setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
set-java-classpath.sh java classpath hook: allow unbound $CLASSPATH 2019-11-24 23:30:05 -05:00
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
strip.sh setup-hooks/separate-debug-info.sh: don't inhibit strip hook 2022-08-07 12:49:37 +01:00
update-autotools-gnu-config-scripts.sh treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
use-old-cxx-abi.sh
validate-pkg-config.sh validatePkgConfig: fix cross-compilation 2021-10-23 15:50:21 -07:00
win-dll-link.sh