!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

691 Members
Rust158 Servers

Load older messages


SenderMessageTime
30 Nov 2022
@florian:web3.foundationFlorian | W3F left the room.13:11:46
1 Dec 2022
@jkarlson:kapsi.fiEmil Thorsøe changed their display name from Emil Karlson to Emil Thorsoe.08:20:34
@jkarlson:kapsi.fiEmil Thorsøe changed their display name from Emil Thorsoe to Emil Thorsøe.08:24:53
@hexa:lossy.networkhexa changed their display name from hexa to hexa (22.11 now).13:09:08
@hexa:lossy.networkhexa changed their display name from hexa (22.11 now) to hexa.14:39:08
2 Dec 2022
@srid:matrix.orgsrid changed their profile picture.02:19:37
@sellout:matrix.orgsellout joined the room.18:11:41
@sellout:matrix.orgsellout I’ve been using crane to build rust projects, but now I have a repo with only libs, and I think cargo doesn’t want to build a Cargo.lock for that. So, is there a way to get a Cargo.lock, or should I use something other than crane, or what? 18:16:32
@sellout:matrix.orgsellout
In reply to @sellout:matrix.org
I’ve been using crane to build rust projects, but now I have a repo with only libs, and I think cargo doesn’t want to build a Cargo.lock for that. So, is there a way to get a Cargo.lock, or should I use something other than crane, or what?
Nevermind, Cargo.lock had just been added to .gitignore, so I (and Nix) didn’t see it.
18:24:48
3 Dec 2022
@yuu:matrix.orgyuu✨✨Redacted or Malformed Event00:48:11
@musicmatze:beyermatthi.asmusicmatze joined the room.17:59:39
@haam:matrix.orghaam joined the room.18:55:37
@kidanger:kidanger.netkidanger set a profile picture.19:31:52
@kidanger:kidanger.netkidanger changed their profile picture.19:32:03
6 Dec 2022
@s9616726:tu-dresden.deMaximilian Marx joined the room.15:27:26
@hdhog:matrix.hdhog.ruhdhog 18:43:50
7 Dec 2022
@ftchrist:matrix.orgFrédéric Christ joined the room.14:55:58
8 Dec 2022
@teynav:matrix.orgNot-Amused joined the room.19:11:01
@teynav:matrix.orgNot-AmusedHi! Most of the tutorials i went to showed how to install rust based program, but i want to install rust itself on my main system and not just use nix-shell to access it if i want to, how do i do that?19:12:19
@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