3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Guillaume Maudoux 7b9fd5d1c9
rewrite autoPatchelfHook in python (#149731)
* rewrite autoPatchelfHook in python

* Update pkgs/build-support/setup-hooks/auto-patchelf.py

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Update pkgs/build-support/setup-hooks/auto-patchelf.py

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Fix issues discovered during tests

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* fixup line wrapping

* autoPatchelfHook: Improve compatibility with bash version

* autoPatchelfHook: Fix symlink-reated issues

* autoPatchelfHook: Revert dubious patchelf invocation test

* autoPatchelfHook: Untangle the executable detection logic

* fixup! autoPatchelfHook: Untangle the executable detection logic

* autoPatchelfHook: Fix invalid borrow issue

* autoPatchelfHook: Handle runtimeDependencies as the bare string it is

* autoPatchelfHook: add bintools dependency

For the very rare cases where it is not included by default.

* autoPatchelfHook: replace old hook with the rewrite

* autoPatchelfHook: get rid of the old hook content

* autoPatchelfHook: fix wrong ordering of debug info

* autoPatchelfHook: persist extra search path across incovations

* autoPatchelfHook: fix wrong usage of global variables

* Update auto-patchelf.py

PEP8: ignoreMissing -> ignore_missing

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* autoPatchelfHook: remove imprecise and incorrect warning

* Apply explicit types from code review

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

* Complement and polish types and snake_casing

Co-authored-by: aszlig <aszlig@redmoonstudios.org>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-02-04 10:08:27 +01:00
..
applications Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:34:17 -08:00
build-support rewrite autoPatchelfHook in python (#149731) 2022-02-04 10:08:27 +01:00
common-updater
data Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:29:24 -08:00
desktops
development go: Fix the build in non-root sandboxes 2022-02-04 17:32:58 +10:00
games
misc vimPlugins.tup: fix ftdetect 2022-02-03 16:32:44 -08:00
os-specific Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:34:17 -08:00
pkgs-lib
servers Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:34:17 -08:00
shells
stdenv
test
tools Merge remote-tracking branch 'origin/staging-next' into staging 2022-02-03 21:34:17 -08:00
top-level rewrite autoPatchelfHook in python (#149731) 2022-02-04 10:08:27 +01:00