If both separateDebugInfo = true and autoPatchelfHook are included in a derivation then the hook will try to patch the debug info and fail because it can't find a .hash section.
Steps To Reproduce
Create a derivation with autoPatchelfHook in the nativeBuildInputs and seprateDebugInfo = true. Watch it fail to build.
Describe the bug
If both
separateDebugInfo = true
andautoPatchelfHook
are included in a derivation then the hook will try to patch the debug info and fail because it can't find a.hash
section.Steps To Reproduce
Create a derivation with
autoPatchelfHook
in thenativeBuildInputs
andseprateDebugInfo = true
. Watch it fail to build.Expected behavior
It should build.
patchelf --version
outputAdditional context
Add any other context about the problem here.