-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoPatchelfHook fails badly with stdenvNoCC #137982
Labels
0.kind: bug
Something is broken
Comments
Thanks, I just tested and even after adding binutils which contains readelf, it fails on another line.
|
cc @impl maybe |
12 tasks
@nomeata, this change has hit unstable since a few days ago. When you get a moment, could you verify that what you tried originally is now working? Thanks! |
Yup, seems to work, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to use
autoPatchelfHook
like this:but it failed in a not nice way:
Looking at the setup hook it seems that
readelf
is missing. ChangingstdenvNoCC
tostdenv
fixed it.I guess
autoPatchelfHook
should either pull in the tools it needs, or they definitely need to be picked up from the current build environment, maybe that situation can be detected and a helpful error message produced? @DavHau maybe?The text was updated successfully, but these errors were encountered: