-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
rustc: wrap llvmPackages when using LLVM with callPackage #330754
Conversation
How did you test the eval? Maybe I'm doing it wrong. It fails for me as:
Moving formatting changes to a separate commit might get it a bit easier to review what the PR changes WRT evaluation. |
|
3887dab
to
7cb636d
Compare
Ok, it works now. |
The |
Only the manual rebuilds on x86_64-linux for some reason but it looks like this is ready and we probably should get it in before #332153, I'll merge if there's no objections. |
Description of changes
CC @trofi
Use
callPackage
withpkgsLLVM.rustc.llvmPackages
so it fixes eval with Firefox, Betterbird, etc.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.