Nix Rust | 670 Members | |
| Rust | 152 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Jan 2022 | ||
In reply to @zhaofeng:zhaofeng.lirustc 1.57.0-nightly (497ee321a 2021-09-09) | 01:33:38 | |
In reply to @zhaofeng:zhaofeng.li* rustc 1.57.0-nightly (497ee321a 2021-09-09) | 01:34:27 | |
| Hmm, that feature should exist in that version of nightly (it was removed a month later, which should cause it to complain that the feature is non-existent). Where is that in the code? | 01:36:15 | |
In reply to @zhaofeng:zhaofeng.li
| 01:37:15 | |
| Ok, try a newer nightly version where this has already stabilized | 01:39:16 | |
In reply to @zhaofeng:zhaofeng.liswitched the date to 2021-12-30 and it worked! thanks!! | 02:20:16 | |
| now I'm trying to build https://github.com/paritytech/canvas with the same
pretty confusing, since I do have plenty of space on my disk 🤔 | 14:38:43 | |
In reply to @bernardo:matrix.parity.io/tmp mounted as tmpfs? | 14:53:41 | |
| increase its size | 14:53:50 | |
In reply to @mikroskeem:d0.eeI did $ sudo mount -o remount,size=30G /tmp, which is confirmed by df -h... but the problem remains :( | 15:18:26 | |
| unsure atm | 15:19:08 | |
| ok I think I figured it out... after seeing this error message:
so I ran:
| 15:34:20 | |
| aha | 15:41:46 | |
| 27 Jan 2022 | ||
| 08:55:37 | ||
| 31 Jan 2022 | ||
| 11:49:58 | ||
| 1 Feb 2022 | ||
| 12:03:06 | ||
| 16:47:51 | ||
| 3 Feb 2022 | ||
| 13:34:10 | ||
| 20:23:04 | ||
| 4 Feb 2022 | ||
| 00:44:02 | ||
| 12:46:53 | ||
| 5 Feb 2022 | ||
| 10:26:08 | ||
| 6 Feb 2022 | ||
| 18:24:15 | ||
| Hey everyone. I'm trying to start a Rust project and would like to have Nix working from the start. Is there any boilerplate for this that's more up to date than https://github.com/srid/rust-nix-template? | 18:26:38 | |
| Andrés RodrÃguez: there is a template here as well. We'd like to improve the quality of them so that this becomes the quick/easy answer for anyone beginning a Rust project. Please file an issue (or PR!) in that repo with anything you learn so we can improve. | 19:19:00 | |
| (https://github.com/NixOS/templates/blob/master/rust-web-server/flake.nix) | 19:19:55 | |
In reply to @tomberek:matrix.orgThank you! I see two templates there. rust-web-server and rust. The rust one I see is Naersk-based, and Naersk's very own Flakes example fails to execute nix run. rust-web-server seems to be using https://github.com/edolstra/import-cargo, hadn't heard of that!. I'll give it a go. Flake looks a bit complex for my needs and does some duplication seemingly to not use flake-utils, but I'll see what I can trim :D | 19:24:49 | |
| Just tried using it, doesn't seem to work with nix run either :( | 19:30:29 | |
| there's a bit of churn in the rust2nix tooling at the moment. i've been meaning to look into it...... | 19:30:59 | |
| That's unfortunate. I'll see if I can get away with a devShell to get development going and maybe take a stab at it again in the future. Thanks for the info though! | 19:32:36 | |