Nix Rust | 706 Members | |
| Rust | 162 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 May 2022 | ||
| Yes, that is a good idea. | 11:36:54 | |
| 23:38:22 | ||
| 9 May 2022 | ||
| 00:22:27 | ||
In reply to @mixedCase:matrix.orgHi! I just updated this to use dream2nix. Changes here | 00:24:36 | |
In reply to @srid:matrix.orgThanks for the release! Good to know | 00:25:27 | |
| 00:31:20 | ||
| 10:57:28 | ||
| 12:18:00 | ||
| 14:50:40 | ||
| 15:18:30 | ||
| 10 May 2022 | ||
| Help. I'm trying to port my fenix toolschain setup to
I can't uncomment that line because it breaks everything. AFAICT, that's what I was more or less doing in | 05:05:55 | |
| Hmm... Found something that works.
Is this the right way then? | 05:19:13 | |
In reply to @js:ukvly.orgI am hitting this problem all the time myself. The reason is that normal cargo/rustup are impure. The only reliable solution I've found is to use nix flakes + lorri for everything on NixOs. | 05:29:41 | |
In reply to @dpc:matrix.orgWhy is lorri important here? | 05:51:11 | |
| a-kenji: It's just making the an experience so smooth that it's close to just using system-wide rustup/cargo | 06:12:57 | |
You cd into your project and everything gets set up as it should be, and you can open your editor, run cargo build etc. and things just work | 06:13:37 | |
Ah, yeah. I think I didn't understand you correctly there. I thought you meant that lorri is important for cargo/rustup. | 06:17:20 | |
| Lorri is a pretty nice project, I agree! | 06:17:49 | |
| Does anyone have examples how to deal with a
| 12:34:02 | |
| 11 May 2022 | ||
In a nixifified project using flakes, do you check-in the .envrc file into git, or is every contributor expected to create it if they use something like lorri? | 15:47:56 | |
| I check-in the .envrc normally | 15:49:42 | |
| This is something I am not sure about, I have checked it in until now too. | 15:49:57 | |
In reply to @dpc:matrix.orgI check my .envrc into git personally | 21:38:39 | |
| That way a single direnv allow on a nix-enabled machine gets me my environment anywhere | 21:38:58 | |
| So far I have been checking it in, but I wonder if it is ever undesireable or something. | 21:44:51 | |
| The reason, I am not sure is: Maybe other people want to use it differently. | 21:54:02 | |
I usually am just adding use_flake, but other people might want a different .envrc. | 21:54:58 | |
| 12 May 2022 | ||
In reply to @a-kenji:matrix.orgWhy wouldn't you use a Nix-based environment if you have nix installed? I made my .envrc a no-op on systems that don't have nix in PATH, but for people who have it, they gonna get the same environment I use everywhere (if they choose to allow the .envrc to run) | 05:50:01 | |
| This is a sensible thing to do if you already have Nix on your machine | 05:50:33 | |
| ...with one caveat that flakes aren't gonna be enabled, but I think it might produce a somewhat helpful message if they aren't by means of nix rambling about experimental-optiona | 05:52:37 | |