-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
rust-analyzer: init at unstable-2020-03-09 #77752
Conversation
It might be nice if we could split this up into an unwrapped and wrapped derivation. Also someone with ofborg permissions may want to initiate a darwin build. In the past I've had to include Finally, not an important point, but I wondered if we could/should build it with the |
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 would split this into two commits:
rust-analyzer: init at unstable-2020-01-13
vscode-extensions.rust-analyzer: init at unstable-2020-01-13
a0d5488
to
b8a799f
Compare
@arcnmx @jonringer |
b8a799f
to
a7830c3
Compare
Updated to 2020-01-20 |
- wait until rust-analyzer is merged into nixpkgs (NixOS/nixpkgs#77752)
703cc08
to
2164a0f
Compare
|
Latest version 2020-02-10 is blocked by #79148, which is merged into |
2164a0f
to
6b07f4a
Compare
Rebased and bumped to 2020-02-11. |
6b07f4a
to
3b79878
Compare
Bumped to 2020-02-25 and fix binary name. |
|
@oxalica Oh, right, I forgot |
Pinging @jonringer @worldofpeace for a possible merge. |
@oxalica 1.42 is in master, you should be able to update this now I think. Pinging @jonringer for a review. |
Do we really need to separate files and commits about |
They're separate packages. It's fine for the update commits to always come in pairs, and there's no harm in more granularity |
@bqv Note that |
Granted I'm not overly familiar with vsix instrumentation in nix, but perhaps in this scenario it would be better to have the extension as an output of the main package then? I do see your point, however. My other solution would be to break the dependency between the packages. The duplication isn't too much of an issue since the source would be reused (identical hash) anyway. |
The extension is a node package but |
In that case I would suggest refer to the source twice, once in each derivation/commit (unless anyone thinks that's a bad idea) |
Thanks! |
I like your wrapping approach and would prefer this package stays , since per project shell.nix could be different, and hence the argument to rust-analyzer, that said, its probably worth mentioning that rust-analyzer is now part of standard rust distribution. rust-lang/rust#72978 |
@asdf8dfafjk In nixpkgs, we have only stable rustc and cargo, bootstrapped from previous stable version. |
Motivation for this change
Add rust-analyzer, an experimental modular compiler frontend for the Rust language.
Also add the vscode extension.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)