!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

664 Members
Rust148 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 May 2025
@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

Show newer messages


Back to Room ListRoom Version: 6