!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

697 Members
Rust155 Servers

Load older messages


SenderMessageTime
23 May 2025
@Ericson2314:matrix.orgJohn Ericsonfor merely building things separately, we can still do that15:54:08
@Ericson2314:matrix.orgJohn EricsonI have recreated the -Zbuild-std hack by mashing together two crates2nix package sets15:54:22
@Ericson2314:matrix.orgJohn Ericsonand even buildRustPackage could probably build a standard library sysroot more or less fine15:54:49
@Ericson2314:matrix.orgJohn Ericsonso the purely downstream thing would be basically replacing that python script they have in the rust repo with a bunch of buildRustPackage invocations15:55:19
@Ericson2314:matrix.orgJohn Ericsonaccording to the bootstrap process15:55:25
@8roken:matrix.org8roken joined the room.18:40:57
@paq:matrix.orgpaq joined the room.21:12:58
24 May 2025
@fromtheeast:matrix.orgfromtheeast710 joined the room.05:09:44
@fromtheeast:matrix.orgfromtheeast710

how can I use a toml file from within a flake?

        rust = pkgs.rust-bin.fromRustupToolchainFile ''
          [toolchain]
          channel = "stable"
          components = [ "rust-src" ]
          profile = "minimal"
        '';
05:12:41
@fromtheeast:matrix.orgfromtheeast710I don't want another config file in my project repo :v05:13:04
@k900:0upti.meK900 You can just not use fromRustupToolchainFile 06:39:03
@k900:0upti.meK900And specify things manually 06:39:07
@fromtheeast:matrix.orgfromtheeast710using a config like this is more readable and allow for finer control of versions imo06:50:54
@fromtheeast:matrix.orgfromtheeast710 I'm following this blogpost 06:51:36
@k900:0upti.meK900You can specify the exact same things in Nix directly 06:52:05
@fromtheeast:matrix.orgfromtheeast710can you point me to the docs or an example?06:52:33
@k900:0upti.meK900https://github.com/oxalica/rust-overlay06:55:05
@fromtheeast:matrix.orgfromtheeast710 rust = pkgs.rust-bin.stable.latest.minimal; works 06:59:21
26 May 2025
@entheogenesis:matrix.org@entheogenesis:matrix.org left the room.03:58:59
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from This LEGO® Worm™ is licensed under the terms of the he/him or they/them pronouns, at your choice to LEGO® Worm™ (Asbestos Flavored!).13:15:57
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose to Robert Rose (🏖️ -> 31.05.15:05:39
@alisonjenkins:matrix.orgAlison Jenkins joined the room.18:54:13
27 May 2025
@apeioo:matrix.orgLorenz joined the room.11:05:09
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from LEGO® Worm™ (Asbestos Flavored!) to LEGO® Worm™ (Now Only 1 krad!).14:46:16
29 May 2025
@oscarvarto:matrix.orgOscar Vargas Torres joined the room.04:26:54
1 Jun 2025
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ warning: be sure to add /home/nyan/.cargo/bin to your PATH to be able to run the installed binaries 00:02:31
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️how can one do this in a flake :p00:02:37
@charles:computer.surgeryCharles what you should actually do is package the software with nix as usual and never use cargo install 00:52:47
@nickorta12:matrix.orgNick joined the room.01:39:49
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @mightyiam:matrix.orgShahar "Dawn" Or.22:58:07

Show newer messages


Back to Room ListRoom Version: 6