| 3 Aug 2022 |
Alyssa Ross | a-kenji: hehe, your response to me in #spectrum:libera.chat came through about a second after I asked in here | 18:05:05 |
a-kenji | In reply to @qyliss:fairydust.space a-kenji: hehe, your response to me in #spectrum:libera.chat came through about a second after I asked in here :D Good timing! | 18:05:53 |
Dandellion | I really liked fenix last time I tried different things out | 18:06:57 |
Dandellion | at least I had more luck with it for crosscompiling | 18:07:26 |
| 4 Aug 2022 |
| walkah joined the room. | 19:23:18 |
| 5 Aug 2022 |
| Kira Bruneau joined the room. | 01:00:26 |
| Kira Bruneau changed their display name from daxvena to Kira Bruneau. | 01:00:31 |
| 6 Aug 2022 |
Ralith | how do those compare to the mozilla overlay? | 06:05:19 |
dpc | Does jumping to definition of a private method supposed to work in rust-analyzer? | 06:11:27 |
dpc | It doesn't here, and I wonder if this is kak-lsp or rust-analyzer's doing. | 06:11:45 |
dpc | It's a pita, when a symbol is accidentally private and I can't jump to it to add pub | 06:12:05 |
dpc | BTW. I also use fenix exclusively. I had some problems with nix flakes and mozilla overlay and tried fenix, worked like a charm and never felt a need to go back. | 06:15:22 |
dpc | https://github.com/mozilla/nixpkgs-mozilla#flake-usage
Depending on your use case, you might need to set the --impure flag when invoking the nix command. This is because this repository fetches resources from non-pinned URLs non-reproducibly.
🤷
| 06:15:56 |
Alyssa Ross | ralith: oxalica's has a comparison with the mozilla overlay in it's README | 10:14:38 |
| yuu changed their display name from yuu to yuu[m]. | 17:42:51 |
| yuu changed their display name from yuu[m] to yuu. | 20:35:44 |
| 8 Aug 2022 |
| schuelermine joined the room. | 09:01:04 |
schuelermine | Hi, I just installed Rust via Nix, and I’m getting an error when using the rust-analyzer extension for VSCode.
“Failed to find sysroot for Cargo.toml file”. It asks if rust-src is installed. How can I install the Rust sources via Nix? | 09:14:04 |
a-kenji | Oh, I haven't used vscode in a while, but that error does ring a bell. Do you have rust analyzer itself installed in nix?
| 09:15:29 |
a-kenji | And is the extension installed through the marketplace, or nix? | 09:15:47 |
schuelermine | Yes, I have rust-analyzer installed via Nix. But it might still be using a downloaded version, there was a downloading message. | 09:16:27 |
schuelermine | The extension is from the marketplace | 09:16:35 |
a-kenji | Ah, maybe it makes sense to try it out with one of the mentioned overlays and to install rust analysis itself.
| 09:17:24 |
a-kenji | I use a form of the following rust-toolchain.toml usually: ``` [toolchain] channel = "1.62.0" components = ["rustfmt", "clippy", "rust-analysis"] targets = []
| 09:17:47 |
a-kenji | * I use a form of the following rust-toolchain.toml usually:
\[toolchain\]
channel = "1.62.0"
components = \["rustfmt", "clippy", "rust-analysis"\]
targets = \[\]
| 09:18:01 |
schuelermine | I have downloaded oxalica’s rust overlay and it includes rust-src. I will try using it! | 09:26:42 |
schuelermine | Is there a difference between rust-analysis and rust-analyzer? | 09:29:56 |
schuelermine | Hmm, it doesn’t seem to discover it | 09:59:38 |
schuelermine | It expects it to be installed where rustc is installed, but the command it uses to find that backtracks through the nix profile symlinks back into the store, where they’re separate of course. | 10:00:26 |
schuelermine | Does anybody know if this can be fixed? Or should I just use rustup? | 10:00:49 |