!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

674 Members
Rust153 Servers

Load older messages


SenderMessageTime
21 Mar 2026
@whispers:catgirl.cloudwhispers [& it/fae]their current target rust version is 1.49 so it'll be a hot minute14:55:10
@cathal_mullan:matrix.orgCathal Would a fix to rustPlatform.fetchCargoVendor have to go through staging? Hit a bug around the recent changes (https://github.com/NixOS/nixpkgs/pull/387337) when building COSMIC packages. 15:47:43
@k900:0upti.meK900Yes16:10:43
@azban:matrix.orgazban is it intentional that cargoBuildHook doesn't support Cargo.lock files that have multiple dependencies with the same git repo as source with different commits. it seems like it causing this issue: https://github.com/NixOS/nixpkgs/issues/501981 23:27:19
@azban:matrix.orgazbannevermind, looks like there is a fix out https://github.com/NixOS/nixpkgs/pull/50197923:41:41
22 Mar 2026
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️I mean is there any way to accelerate it having a broken COSMIC DE for like a few weeks is not ideal.04:09:51
@qyliss:fairydust.spaceAlyssa Rosshow did it get updated in that state?15:00:41
@ryoeuyo:matrix.orgryo changed their profile picture.17:33:12
@ryoeuyo:matrix.orgryohi17:33:28
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️The staging update broke it17:36:48
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event19:03:13
23 Mar 2026
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️So yeag03:22:08
@qyliss:fairydust.spaceAlyssa RossMaybe we could temporarily switch it to importCargoLock? Does that handle this correctly?07:12:45
@niklaskorz:matrix.orgniklaskorzI don't think upstream intended this internal dependency to be at different commit revs actually, so we should ensure libcosmic points to the same revision of dbus-settings-bindings and PR that09:39:04
@niklaskorz:matrix.orgniklaskorz* I don't think upstream intended this internal dependency to be at different commit revs actually, so we should ensure libcosmic points to the same revision of dbus-settings-bindings (by patching the lockfile) and PR that09:39:20
@niklaskorz:matrix.orgniklaskorzi.e. the issue is caused by libcosmic recently adding dbus-settings-bindings as a dependency itself, which ended up with a new entry in cosmic-settings-daemon at the then-current revision of debus-settings-bindings09:41:15
@niklaskorz:matrix.orgniklaskorz* i.e. the issue is caused by libcosmic recently adding dbus-settings-bindings as a dependency itself, which ended up with a new entry in cosmic-settings-daemon at the then-current revision of dbus-settings-bindings09:41:28
@niklaskorz:matrix.orgniklaskorzwhile cosmic-settings-daemon already depended on dbus-settings-bindings directly before and never updated the rev of that dependency in its lockfile09:41:45
@niklaskorz:matrix.orgniklaskorz(if cosmic were a monorepo this wouldn't have happened)09:46:19
@niklaskorz:matrix.orgniklaskorzPR coming in a moment09:54:14
@nasso:matrix.orgnasso joined the room.13:44:15
@nasso:matrix.orgnasso

hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii im new to nix and im trying to package a rust project that is spread across many crates in many workspaces in many repos

would you recommend naersk or crane?

13:46:11
@benjaminsparks:chat.alugha.appBen Sparkspackage for nixpkgs or package for yourself13:47:41
@nasso:matrix.orgnasso or maybe i dont need either?? 13:47:28
@benjaminsparks:chat.alugha.appBen Sparks* package for nixpkgs or package for yourself?13:47:46
@nasso:matrix.orgnassowe cross compile a lot and we are pinned to like rust 1.8913:48:06
@nasso:matrix.orgnasso
In reply to @benjaminsparks:chat.alugha.app
package for nixpkgs or package for yourself
myself for now, might want to upstream to nixkpgs one day in the future though
13:48:41
@benjaminsparks:chat.alugha.appBen Sparks

if you're doing cross then you should look to crane IIRC
https://crane.dev/examples/cross-rust-overlay.html

you can pass in a rust compiler from rust-overlay for example

13:51:14
@benjaminsparks:chat.alugha.appBen Sparks *

if you're doing cross then you should look to crane IIRC
https://crane.dev/examples/cross-rust-overlay.html

you can pass in a 1.89 or later rust compiler from rust-overlay for example

13:51:24
@nasso:matrix.orgnassoawesome! i wasn't sure cuz they both seem similar14:04:29

Show newer messages


Back to Room ListRoom Version: 6