Skip to content
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

Deprecation warning: "rustPlatform.rust.cargo is deprecated. Use cargo instead." May be easy fix, but... #315

Open
pmarreck opened this issue Jun 3, 2023 · 2 comments

Comments

@pmarreck
Copy link

pmarreck commented Jun 3, 2023

... my Nix expertise is still not quite there yet. I just sense it's probably an easy reference change in the nix recipe. The full warning is actually:

trace: warning: rustPlatform.rust.cargo is deprecated. Use cargo instead.
trace: warning: rustPlatform.rust.rustc is deprecated. Use rustc instead.

It seems to be coming from the firefox-overlay.nix file (thanks for that work, btw!)

@HammyHavoc
Copy link

Did you have any joy with this? Seeing similar with LibreWolf, which makes sense as it's a Firefox fork.

@Artturin
Copy link
Contributor

I can't see anything in this overlay that would cause either of you to have that error. only pkgs/servo/default.nix uses those attrs but that file is not called anywhere and has other errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants