Commit Graph

3 Commits

Author SHA1 Message Date
Wolfgang Walther
2a2b88eb55
auto-patchelf: fix test for hook
Fix suggested by Yann Hamdaoui in
https://github.com/NixOS/nixpkgs/pull/340858#issuecomment-2344155304.
2024-09-11 19:29:39 +02:00
Azat Bahawi
c5e8f89f3a
autoPatchelfHook: fix tests 2024-08-23 13:08:05 +03:00
Yann Hamdaoui
00d0418804
Test __structuredAttrs support in autoPatchelf
This commit adds a test for the newly added support for
__structuredAttrs in autoPatchelf(hook). It copied a reasonably
small-closure binary derivation that makes use of autoPatchelf, stripped
it down for the purpose of the test, and check that autoPatchelf
correctly set the interpreter and runpath whether __structuredAttrs is
set to true or not.
2023-12-21 15:42:20 +01:00