Nix Rust | 674 Members | |
| Rust | 154 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Sep 2022 | ||
| oh are you running vscode in a fhs? | 17:22:21 | |
| I'm running vscode on windows and nix in WSL :) | 17:28:17 | |
| so it has nothing to do with the frontend because it's pretty far away from nixos | 17:28:53 | |
| hm okay, no idea then! | 17:37:27 | |
| 15 Sep 2022 | ||
| 12:00:58 | ||
| 12:01:01 | ||
| 15:09:36 | ||
| Hello! I am not sure if I am doing something that has sense or not. But I would like to build a rust project that does not have a flake.nix checked out in the repo itself. And I would like to avoid that right now. I was thinking about something like this:
but I get this error | 15:11:16 | |
isn't it builtins.fetchGit? | 15:12:14 | |
| https://nixos.org/manual/nix/stable/language/builtins.html#builtins-fetchGit | 15:12:25 | |
| Ah you are right! | 15:21:28 | |
| Thanks | 15:21:31 | |
| I think I have another question, the build process fails because the rust project I am trying to build has a private build-dependency:
I can't find if it is supported or not | 16:07:40 | |
| * I think I have another question, the build process fails because the rust project I am trying to build has a private build-dependency:
I can't find if it is supported or not | 16:07:47 | |
| * (opened an issue for this https://github.com/nix-community/naersk/issues/264)I think I have another question, the build process fails because the rust project I am trying to build has a private build-dependency:
I can't find if it is supported or not | 16:38:47 | |
| 16 Sep 2022 | ||
| 07:37:11 | ||
| Anyone know of any overview that can help me understand the differences so that I can choose between the following (non-exhaustive list):
I want to start a new project, and I have no idea how to choose one... | 17:36:00 | |
| * Anyone know of any overview that can help me understand the differences so that I can choose between the following (non-exhaustive list):
I want to start a new project, and I have no idea which one(s) to choose... | 17:36:21 | |
| I don't have experience with these tools, but stopped looking into lorri as soon as I saw it didn't support flakes. | 19:00:53 | |
In reply to @x10an14:matrix.orgDo you need a special tool chain, that is not in nixpkgs then use one of the overlays: fenix, or oxalica. They both work. I personally prefer the oxalica one just because I like the UX a little better. | 19:35:08 | |
In reply to @x10an14:matrix.orgNaersk is a 2nix tool, unless your u need something very specific from it, then I personally don't see a reason to use it. | 19:35:59 | |
In reply to @x10an14:matrix.orgLorri is a daemon that allows you to evaluate shells in a non blocking way in the background and it also sets gc roots. | 19:38:03 | |
| * Naersk is a 2nix tool, unless you need something very specific from it, then I personally don't see a reason to use it. | 19:38:36 | |
| Thanks a-kenji =) So there's no single location documenting this? It's just tribal knowledge? =) | 19:43:42 | |
In reply to @x10an14:matrix.orgIt is sometimes hard to surface the correct information, maybe that could be tribal knowledge. I find the overview here to be quite good: https://nixos.wiki/wiki/Rust, here is a more in depth one on the nixpkgs specific rust builder, which probably surfices for many builds: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md . | 19:55:43 | |
In reply to @x10an14:matrix.org* It is sometimes hard to surface the correct information, maybe that could be tribal knowledge. I find the overview here to be quite good: https://nixos.wiki/wiki/Rust, here is a more in depth one on the nixpkgs specific rust builder, which probably suffices for many builds: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md . | 19:56:37 | |
| 20 Sep 2022 | ||
| Hello, anyone knows how to include a dependency so it's usable by the dependecy of a package? Right now I'm trying to build the latest version of lapce (text editor written in rust) but got error explained in the discussion. Basically a dependency called tree-sitter-markdown tries to include a dependency that I have no idea how to include.
| 12:40:25 | |
That's usually addressed by wrapping the program as a GTK app, often just adding wrapGAppsHook to nativeBuildInputs is enough | 12:42:27 | |
| wait no, that's for the gsettings schemas thing | 12:44:42 | |
| what's tree-sitter-markdown got to do with that? | 12:44:51 | |