-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
fix pkgsMusl.rustc build #141972
fix pkgsMusl.rustc build #141972
Conversation
Thanks for the comments, will add the darwin conditionals |
buildInputs = [ bash ] | ||
++ lib.optionals (!stdenv.isDarwin) [ gcc.cc.lib zlib ] |
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.
Would prefer the libgcc
derivation if it works here.
++ lib.optionals (!stdenv.isDarwin) [ gcc.cc.lib zlib ] | |
++ lib.optionals (!stdenv.isDarwin) [ libgcc zlib ] |
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.
That does not seem to work:
autoPatchelfHook could not satisfy dependency libgcc_s.so.1
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.
ah, right libgcc_s :|
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.
Can I resolve this conversation?
Switched to draft status since this is not really useful on its own and the remaining fixes are still WIP. See https://github.com/yu-re-ka/nixpkgs/commit/c3ff9944c85d4e6fb88acda60cf1500ae3be4ba5 |
Motivation for this change
Note that
pkgsMusl.cargo
build currently still failsThings done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)