-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support 32 bits applications on 64 bits systems #28
Comments
Another thing is running x86_64 applications under Rosetta 2 in a VM. I could fetch an x86_64 version of |
I have something working, see NixOS/nixpkgs#326948 Though nix-ld (as opposed to nix-ld-rs) has an issue with environment variables that are not possible to set:
because of the hyphen-minus ( https://github.com/Mic92/nix-ld/blob/bf5aa84a713c31d95b4307e442e966d6c7fd7ae7/nix-ld.nix#L22 should use
See also nix-community/nix-ld-rs#67 |
Would it help if we would merge nix-ld-rs into nix-ld and make it the new implementation? This was at least my plan. |
It would, I'm successfully using nix-ld-rs with 32-bit software, though I just tried and fixing the environment variables also makes this nix-ld work with the nixpkgs patch above. But I certainly understand not wanting to have to maintain both at the same time. |
I merged nix-ld-rs into nix-ld now. |
As far as I understand, in most cases 32 bits applications should work on 64 bits systems. However the nixos module creates a single folder
/lib64
making it unable to run 32 bits applications.The discussion was started here #27
The text was updated successfully, but these errors were encountered: