-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
binutils override withAllTargets does not work #82792
Comments
Setting |
/cc @Ericson2314 |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
Maybe i am completely wrong about this, but I think since this works with |
I marked this as stale due to inactivity. → More info |
I'm experiencing the same issue with 7e9b0df. |
Still a problem. I think the trigger is the use of CLI reproducer:
|
Proposed the fix (and a new explicit attribute) as #168106 |
It's not exactly a new package: binutils has been exposing `withAllTargets = true;` knob for a while. To give it more official status let's expose it as an `binutils-unwrapped-all-targets` attribute. Note that `binutils-unwrapped.override { withAllTargets = true; }` does not work due to recursive definition of binutils. Closes: NixOS#82792
Describe the bug
I am trying to get binutils to support all targets by overriding the withAllTargets argument. But I get the following error message:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A shell environment containing binutils with all targets enabled.
Additional context
The higher-level goal is to obtain a version of
objcopy
that supportspe-i386
andpe-x86-64
targets. I need to copy a 32-bit PE object file to a 64-bit one. If there is a better way to accomplish this goal, I'd appreciate guidance.Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: