!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

717 Members
Rust168 Servers

Load older messages


SenderMessageTime
8 Dec 2022
@charles:computer.surgeryCharles ⚡️you can install rustup19:14:34
@charles:computer.surgeryCharles ⚡️or cargo/rustc directly but generally you don't really want to do that19:14:56
@teynav:matrix.orgNot-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:computer.surgeryCharles ⚡️rustup is the de facto standard on everything other than nixos19:16:15
@charles:computer.surgeryCharles ⚡️ on nixos i would recommend using a shell.nix/flake.nix 19:16:33
@charles:computer.surgeryCharles ⚡️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 rustup19:17:02
@charles:computer.surgeryCharles ⚡️if you want to pretend you're using rust on a normal person operating system then you can install rustup and call it a day19:17:35
@charles:computer.surgeryCharles ⚡️if you want to do it the nix way then use a shell or flake (i'd recommend the latter)19:17:50
@charles:computer.surgeryCharles ⚡️ * 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 day19:18:03
@teynav:matrix.orgNot-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
@teynav:matrix.orgNot-Amusedso i have to install binaries again19:19:04

There are no newer messages yet.


Back to Room ListRoom Version: 6