Nix Rust | 672 Members | |
| Rust | 154 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Mar 2026 | ||
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 | |
| 26 Mar 2026 | ||
| 12:56:39 | ||
| https://blog.rust-lang.org/2026/03/26/1.94.1-release/ | 13:25:33 | |
| 1.94.1 is security | 13:25:35 | |
| can grab in a few hours if nobody else does | 13:26:28 | |
| (thanks xokdvium) | 14:08:54 | |
| 18:36:25 | ||
| This is the Rust room | 19:12:12 | |
| ? | 19:12:13 | |
| Oh | 19:12:15 | |
| Holy federation lag lmao | 19:12:20 | |
| see https://blog.rust-lang.org/2026/03/21/cve-2026-33056/ | 19:13:44 | |
| 27 Mar 2026 | ||
| 01:03:55 | ||
| Would anyone from the Rust team mind reviewing https://github.com/NixOS/nixpkgs/pull/501979? | 01:05:42 | |
| i feel like this is a dupe of another PR | 03:02:14 | |
| just based off memory | 03:02:19 | |
| i’ll need to prof further tho | 03:02:24 | |
| prod | 03:02:26 | |
| @tomasajt:matrix.org already reviewed it as the author of fetchCargoVendor and stated:
| 12:22:29 | |
| Or more importantly, the concerns directly above that:
| 12:24:10 | |
| 29 Mar 2026 | ||
| 11:15:52 | ||
so, we've been playing with rustc bootstrapping out of tree at https://codeberg.org/whispers/nebula/src/branch/meow/nix/pkgs/rust-bootstrap. the code itself is a little iffy, but we've got some initial performance metrics.
.override { ... }, so this is the part we build right now in nixpkgs.(take these as order of magnitude estimates, the numbers are extremely noisy. build were run on several different days with other things running on my laptop.) so yeah. the start and end of the chain are expensive, and both are fairly constant cost. the intermediate versions have a relatively small linear coefficient, and we've done what we're aware of to make these builds do as little work as possible (there are probably still ways to shave off a little bit of time though), but it's probably not small enough to be tenable as the distance between stable and what mrustc supports grows. | 18:32:23 | |