| 8 Dec 2022 |
Charles ⚡️ | you can install rustup | 19:14:34 |
Charles ⚡️ | or cargo/rustc directly but generally you don't really want to do that | 19:14:56 |
Not-Amused | In reply to @charles:computer.surgery you can install rustup rustup is goto way? All tutorials tell me to use shell.nix, so i have been confused | 19:15:47 |
Charles ⚡️ | rustup is the de facto standard on everything other than nixos | 19:16:15 |
Charles ⚡️ | on nixos i would recommend using a shell.nix/flake.nix | 19:16:33 |
Charles ⚡️ | it's advantageous to install rust via nix per project (i.e. nix-shell) though, because then packaging can use the same version as what's used for development, and then you don't have to fuss with rustup | 19:17:02 |
Charles ⚡️ | if you want to pretend you're using rust on a normal person operating system then you can install rustup and call it a day | 19:17:35 |
Charles ⚡️ | if you want to do it the nix way then use a shell or flake (i'd recommend the latter) | 19:17:50 |
Charles ⚡️ | * if you want to pretend you're using rust on a normal person operating system then you can install rustup globally and call it a day | 19:18:03 |
Not-Amused | My issue is , if i do use nix-shell, and use rust for development, won't nix-collect-garbage -d just delete it next time it's invoked? | 19:18:51 |
Not-Amused | so i have to install binaries again | 19:19:04 |