!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

588 Members
Rust130 Servers

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


SenderMessageTime
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.orgThe Worm 🏳️‍🌈 (he/they) 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.orgThe Worm 🏳️‍🌈 (he/they) 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.orgnorta joined the room.01:39:49
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @mightyiam:matrix.org@mightyiam:matrix.org.22:58:07
@jeancaspar:matrix.orgjeancaspar joined the room.23:33:14
@seanthw:matrix.orgSean Thawe joined the room.23:38:36
2 Jun 2025
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose (🏖️ -> 31.05 to Robert Rose.07:30:15
@mmkaram:matrix.orgmmkaramRedacted or Malformed Event08:47:16
@deeok:matrix.org@deeok:matrix.org joined the room.13:25:26
@skoove:catgirl.cloudskoove joined the room.21:17:06
3 Jun 2025
@tomasajt:matrix.orgTomahttps://github.com/NixOS/nixpkgs/pull/373541 Constantly fixing all the merge conflicts on this PR is getting tiring, I'd appreciate it if someone reviewed it and merged it. I have reduced the changes to not cause any rebuilds other than the docs. I intend to backport this.00:24:10

Show newer messages


Back to Room ListRoom Version: 6