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
Tweak cross-compilation of some netbsd stuff #72639
Conversation
This makes, at least, the following packages compile with musl: * netbsd.compat * netbsd.getent * netbsd.fts
The testing strategy is to do:
and see that it did not work before and now it works. |
I hope there is another way to do this! haha. Pinging @matthewbauer who made all these for musl, as it turns out, and also taking a peak myself. |
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.
OK I read the netbsd source and now I see the madness and understand your response :) Looks basically all good just a few quibbles.
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 came back to say that I have just tested it on darwin and it still works.) |
Tweak cross-compilation of some netbsd stuff (cherry picked from commit b2372b8)
oh, whew! |
Motivation for this change
I have no idea what I am doing.
I am dead set on getting systemd compiled with musl (almost there), and these things stood on my way, so I had to do something.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @matthewbauer or @Ericson2314 or I don’t even know