Nix Rust | 708 Members | |
| Rust | 158 Servers |
| Sender | Message | Time |
|---|---|---|
| 20 Nov 2021 | ||
| 11:09:46 | ||
| 23 Nov 2021 | ||
| has anyone got an emacs + rust-analyzer setup that gets them reasonably recent RA builds? | 00:21:36 | |
| that question is quite ambiguous in many ways | 00:37:24 | |
| what is reasonably recent RA for you? if somebody does have such setup, then what? how is this related to nix (do you want a derivation for RA? or one which combines RA with emacs? or...?) | 00:39:36 | |
| RA itself updates on the order of weeks, so a reasonably recent build would not be drastically slower than that | 02:03:31 | |
| if somebody does have such a setup, I would obviously like them to share it :P | 02:03:37 | |
| it is related to nix because the question is trivial unless you are trying to stay within nix | 02:04:03 | |
| i've got it going with nvim and whatever rust-analzyer is in nixpkgs for a couple of months now | 02:04:30 | |
| isn't it just about pointing emcas to the right LSP? | 02:04:45 | |
| the emacs LSP impl doesn't like the rust-analyzer in stable nixpkgs | 02:05:09 | |
| oh, I always use unstable | 02:05:29 | |
| I am very attached to my editing environment's stability | 02:05:41 | |
| me too but thats what we have rollbacks for | 02:06:04 | |
| I've yet to encounter really deal breaking brekage | 02:06:14 | |
| * I've yet to encounter really deal breaking breakage | 02:06:17 | |
| I'm not using the plugins nor the neovim that is in nixpkgs. I've my own neovim package and pin all my plugins using my niv equivalent. | 02:07:00 | |
| but rust-analzyer comes from nixpkgs | 02:07:12 | |
| good to know that's getting some love at least | 02:07:31 | |
| andi-: pulling RA from unstable seems to have Just Worked with no other changes, thanks! | 03:52:19 | |
| 03:58:45 | ||
| 08:30:16 | ||
| Ralith: I usually use the one from here along with rust: https://github.com/nix-community/fenix | 18:05:56 | |
| ooh, interesting | 18:40:04 | |
| but isn't that just providing patchelf'ed binaries? | 18:49:34 | |
In reply to @mic92:nixos.dev configuring this as an overlay then referencing rust-analyzer-nightly fails with
| 18:49:48 | |
| not a great start | 18:49:52 | |
| 20:29:45 | ||
| Hey folks, I was trying to use carnix to generate a nix definition for a workspace of a few crates I've got, but ran into an unwrap error, and on looking for the carnix repo, found that the links which I can find (on https://crates.io/crates/carnix and https://github.com/nix-community/carnix) both point to https://nest.pijul.com/pmeunier/carnix which shows as "not found" (rather than showing a repo). Is there a new location for the carnix repo? Or should I not be using carnix and instead do something else to have nix build my crates? | 20:32:38 | |
In reply to @codysch:matrix.org I've been pretty happy with naersk and crate2nix though neither are perfect solutions. https://github.com/nix-community/naersk | 20:35:25 | |
In reply to @codysch:matrix.orgFWIW, pmeunier appears to be using crate2nix himself: https://nest.pijul.com/pijul/pijul:main/G734WNM64AR5A.BQAAA | 21:11:46 | |