| 20 Dec 2025 |
| Shahar "Dawn" Or joined the room. | 11:43:43 |
| vivekanandan_ks joined the room. | 12:27:21 |
| 21 Dec 2025 |
vivekanandan_ks | Hi All
Yesterday, I started looking for setting up an environment to learn rust😅.
I dwelled on setting up the environment and basic build through the help of some wiki and mainly vimjoyer's video.
Here's a hello world template of mine.
https://github.com/vivekanandan-ks/ksv-rust-try/blob/main/flake.nix
I have these configured:
Devshells :
- using nixpkgs and cargo, rustc etc (only stable from nixpkgs)
- using fenix for the toolchain (since this can be used for stable, beta, nightly releases)
Packages:
- plain: pkgs.rustPlatform.buildRustPackage
- naersk
- fenix + plain
- fenix + naersk
Any suggestion or improvements over this please😅
| 07:57:06 |
K900 | Honestly if your goal is to learn Rust, just nix-shell -p rustc cargo | 07:58:31 |
vivekanandan_ks | My goal is to package mainly, also wanted to learn rust on the way😅 | 08:03:36 |
K900 | If you want to package for nixpkgs, the only thing you can use is rustPlatform | 08:04:12 |
K900 | No out of tree dependencies are allowed | 08:04:24 |
Acid Bong | In reply to @vivekanandan_ks:matrix.org My goal is to package mainly, also wanted to learn rust on the way😅 then it's just a matter of creating a package with rustPlatform.buildRustPackage and a devshell with inputsFrom = [thatPackage]; nativeBuildInputs = [rust-analyzer]; and a formatter of your choice (rustfmt or genemichaels) | 08:12:13 |
vivekanandan_ks | Looks like there's more for me to learn. But it somewhat feels easier than the rabbit hole I went for python packaging in nix🥲
Looks like rust toolchain ecosystem is better
| 08:52:19 |
| 24 Dec 2025 |
| @hedgemage:unredacted.org left the room. | 03:37:57 |
Acid Bong | i'd say there's less to learn (I find Fenix and such too convoluted for me) | 05:02:36 |
vivekanandan_ks | Yes.
It's just for trying out other toolchain like beta, nightly etc.
It's not that hard too😅.
But I went with naersk for local development.
| 05:07:10 |
vivekanandan_ks | I'm scratching the absolute basics now ❤️ I love certain design so far.
I only know python before this. 😅
| 05:08:24 |
damccull | Redacted or Malformed Event | 08:37:03 |
| pltrz joined the room. | 12:32:53 |
| amadaluzia changed their profile picture. | 16:52:59 |
| 25 Dec 2025 |
| Makuru 📞(WAAF / 4850) changed their display name from Makuru to Makuru 📞(WAAF / 4850). | 10:28:37 |
| 29 Oct 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:57:43 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:57:43 |
| @grahamc:nixos.org changed the room topic to "" from "". | 19:57:43 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:58:21 |
| Matrix Traveler (bot) joined the room. | 19:59:14 |
| Ralith joined the room. | 20:00:28 |
| @grahamc:nixos.orgchanged room power levels. | 20:00:52 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 20:01:04 |
| NixOS Moderation Bot joined the room. | 20:01:05 |
| @grahamc:nixos.orgchanged room power levels. | 20:01:08 |
| Room Avatar Renderer. | 20:02:40 |
| hexa joined the room. | 20:04:36 |
| ash (it/its) 🏳️⚧️ joined the room. | 20:06:27 |