Nix Rust | 675 Members | |
| Rust | 153 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Jan 2022 | ||
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 | |
| Well, I got stubborn again. Naersk does work with nix run. But absolutely everything involved must be in version control. I'm assuming it's the same reason why Nix flakes don't work unless staged and I will never stop hating that about them :) At least got it to work! | 19:46:05 | |
| 8 Feb 2022 | ||
| 02:08:26 | ||
| Hey, I am coming from here: https://github.com/oxalica/rust-overlay/issues/72. How do I use nightly channel? Here is my default.nix: https://gitlab.com/aka_dude/lobsters-best-bot/-/blob/nix-build/default.nix | 02:10:02 | |
| 02:10:20 | ||
In reply to @akadude:matrix.org For
| 02:30:01 | |