-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
libiconv: Correct cross-building #15021
Conversation
Select the crossDrv based on the target platform in all-packages.nix, remove superfluous assert in libiconv
By analyzing the blame information on this pull request, we identified @domenkozar, @vcunat and @edolstra to be potential reviewers |
Hmm, yes, I think so. Cross-compilation is still rather hacky, unfortunately. |
Not possible to cross-compile darwin.libiconv since it is a system library.
find-tarballs.nix was failing withing this fix
I've fixed the failure in CI call into find-tarballs.nix. Remaining is the failure in libiconvReal by the automatic dependency checker -- it should try to build this on a glibc system. How to proceed? |
I made similar changes to libiconv in my pull request here: #21388 |
As did I #21268. My or @DavidEGrayson's PRs should be merged in lieu of this. |
Closing in deference to the above mentioned PRs. |
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)Select the crossDrv based on the target platform in all-packages.nix,
remove superfluous assert in libiconv
nix-shell -p nox --run "nox-review wip" fails because it tries to build libiconvReal on Linux which fails on master already