-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
cctools, apple libiconv: Apple clean up for iOS cross #39844
Conversation
60771af jumped through some hoops in order to avoid a mass-rebuild.
@@ -1,14 +1,14 @@ | |||
{ stdenv, appleDerivation }: | |||
{ stdenv, appleDerivation, autoreconfHook }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't yet been able to get autoreconfHook
to work :/, but I think it's needed as the ...-ios
triples are new.
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: darwin.libiconv Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: darwin.libiconv Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I was actually just looking at ccports because I couldn't find the man page for otool and found tpoechtrager/cctools-port#40.
|
||
appleDerivation { | ||
preConfigure = "cd libiconv"; | ||
postPatch = "cd libiconv"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably safer to do this:
postUnpack = "sourceRoot=$sourceRoot/libiconv";
I think I need postPatch for `autoreconfHook`, it's better anyways, and I'm pairing this with another mass-rebuild so its essentially free.
46e1dee
to
62fd669
Compare
@matthewbauer fair point; that worked. And good luck with that issue if you tackle it. I really need to head home but anyone feel free to merge this after ofborg then. |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: darwin.libiconv Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: darwin.libiconv Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: darwin.libiconv Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: darwin.libiconv Partial log (click to expand)
|
I built it locally so whatever re the time out. |
Motivation for this change
One one hand, this is an "incomplete" mass-rebuild as more changes are needed. OTOH it's nice to upstream things as soon as possible before I forget. LMK what you all think.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)CC @ElvishJerricco