!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

673 Members
Rust153 Servers

Load older messages


SenderMessageTime
25 Nov 2025
@rosssmyth:matrix.orgrosssmyth* Yes of course there is more processing to do. This was just an idea I had and I wanted to see how large the JSON file would actually be. This doesn't actually fix anything. 19:12:04
@weethet:catgirl.cloudWeetHetThis should help with merge conflicts I think, no?19:56:20
@rosssmyth:matrix.orgrosssmythThe idea of processing all the crates into one file is to eliminate merge conflicts from being possible in the first place19:58:38
@rosssmyth:matrix.orgrosssmythSince the maintainer(s) of the package set would just regenerate the entire file every week or so 19:59:03
@rosssmyth:matrix.orgrosssmyth

Another idea I have been ruminating upon is something like:

  1. Create a package set like rustCrates, but do not populate it with anything initially
  2. Create builders similar to the above idea (add the source, add a symlink builder for cargo-vendor)
  3. When someone wants to add a Rust package, a new process is used:
    1. Use a tool that processes lock files, and checks if the required crates are in the package set
    2. If not, it emits the latest semver-compatible to a by-name-like directory tree using the crates.to name
  4. Each ~week a program similar to the one I made is ran:
    1. For each crate in the package set, update each semver to the latest-compatible one, should be relatively fast since no downloading is required, the version is in the index, and the required hash is in the index
    2. Write the latest semver-compatible-version and hash in the files
    3. Check the rustsec db as well, and if crates are yanked.
  5. For program dependencies in which the semver that is required is already in the pkgset, they do not touch the package set. If they need to wait a ~week for the next version to the bumped to that is fine.
20:09:31
@weethet:catgirl.cloudWeetHet Yeah that's basically what I wanted to achieve with my script 21:07:07
28 Nov 2025
@anniecrudeness:matrix.organniecrudeness joined the room.18:06:53
29 Nov 2025
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.11:40:45
30 Nov 2025
@akompella:matrix.orgAditya Kompella joined the room.22:49:08
1 Dec 2025
@akompella:matrix.orgAditya KompellaHello. I've been using nix and nixos for a while. I noticed that in the changelog for the new stable release that there was a few rust projects. How can I get involved as a newcomer, with some decent rust and nix experience?01:16:38
@acidbong:envs.netAcid Bong
In reply to @akompella:matrix.org
Hello. I've been using nix and nixos for a while. I noticed that in the changelog for the new stable release that there was a few rust projects. How can I get involved as a newcomer, with some decent rust and nix experience?
everyone can submit their fixes to Nixpkgs. if you wanna take responsibility for specific packages/modules, add yourself to their maintainers (see readmes under maintainers and pkgs on how)
04:47:35
@akompella:matrix.orgAditya KompellaThank you. I am planning currently to submit a PR to nixpkgs for a package I haven't seen on there, and I'll take a look at taking responsibility for other packages once I go through the process once myself, I hadn't considered that. However, I was asking more about the nix / nixos tooling / projects rather than projects in nixpkgs.08:34:44
@k900:0upti.meK900 Nixos tooling that is Rust mostly lives inside nixpkgs 09:03:53
@k900:0upti.meK900 Nix itself doesn't use Rust 09:03:58
@k900:0upti.meK900 Lix, a Nix fork, uses Rust somewhat, and plans for more Rust in the future 09:04:10
@Ericson2314:matrix.orgJohn EricsonSee also the recent activity in https://github.com/nix-community/harmonia09:06:34
@Ericson2314:matrix.orgJohn EricsonAn all-Rust daemon should not be much more work away09:07:03
29 Oct 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room topic to "" from "".19:57:43
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:58:21
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.19:59:14
@ralith:ralith.comRalith joined the room.20:00:28
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:00:52
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.20:01:04
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.20:01:05
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:01:08
Room Avatar Renderer.20:02:40
@hexa:lossy.networkhexa joined the room.20:04:36
@kity:kity.wtfproblems joined the room.20:06:27

Show newer messages


Back to Room ListRoom Version: 6