Nix Rust | 673 Members | |
| Rust | 153 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Mar 2026 | ||
| Maybe we could temporarily switch it to importCargoLock? Does that handle this correctly? | 07:12:45 | |
| 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 and PR that | 09:39:04 | |
| * 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 that | 09:39:20 | |
| 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 debus-settings-bindings | 09:41:15 | |
| * 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-bindings | 09:41:28 | |
| while cosmic-settings-daemon already depended on dbus-settings-bindings directly before and never updated the rev of that dependency in its lockfile | 09:41:45 | |
| (if cosmic were a monorepo this wouldn't have happened) | 09:46:19 | |
| PR coming in a moment | 09:54:14 | |
| 13:44:15 | ||
| 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 | |
| package for nixpkgs or package for yourself | 13:47:41 | |
| or maybe i dont need either?? | 13:47:28 | |
| * package for nixpkgs or package for yourself? | 13:47:46 | |
| we cross compile a lot and we are pinned to like rust 1.89 | 13:48:06 | |
In reply to @benjaminsparks:chat.alugha.appmyself for now, might want to upstream to nixkpgs one day in the future though | 13:48:41 | |
| if you're doing cross then you should look to crane IIRC you can pass in a rust compiler from | 13:51:14 | |
| * if you're doing cross then you should look to crane IIRC you can pass in a 1.89 or later rust compiler from | 13:51:24 | |
| awesome! i wasn't sure cuz they both seem similar | 14:04:29 | |
| i also dont want to patch the project too much so i cant really setup something like workspace-hack | 14:05:05 | |
| 15:11:10 | ||
| Don't think so. Still the fix should be merged for now while like niklaskorzwe can patch it to fix it for now. | 19:26:25 | |
hey so for the past 2 days ive been having this error when trying to use crane to build a crate in a workspace:im not sure whats causing this. i can wget https://index.crates.io/config.json just finethis is what my derivation looks like btw: i think im going crazy??? could it be that my Cargo.lock is outdated?? how could i update it without nix develop (which i can't even run!) i dont even have cargo installed globally! | 23:45:26 | |
| 24 Mar 2026 | ||
| 04:05:58 | ||
| 15:11:47 | ||
| 25 Mar 2026 | ||
| 07:26:37 | ||
| 07:27:24 | ||
| ok guys so i think i figured it out behold, my Cargo.lock: | 18:21:49 | |
| (yes thats the entirety of it) | 18:21:59 | |
so i just added a devShell so i could nix develop into it and run a cargo check to update it, and now it builds! | 18:22:45 | |
| the error did NOT help at all lmao | 18:23:01 | |