| 12 Oct 2025 |
| @midirhee12:tchncs.de left the room. | 21:28:39 |
| 13 Oct 2025 |
| Albert joined the room. | 08:20:15 |
| @gmacon:matrix.org left the room. | 17:53:13 |
| vivekanandan_ks joined the room. | 18:53:42 |
| 14 Oct 2025 |
| ipsavitsky234 joined the room. | 16:43:46 |
| pinpox changed their display name from pinpox to reaktor. | 21:13:34 |
| pinpox changed their display name from reaktor to pinpox. | 21:15:18 |
| 15 Oct 2025 |
| Andrew Zah changed their display name from andrewzah to Andrew Zah. | 09:29:43 |
| 16 Oct 2025 |
Rene | Hello. I'm trying to build a Rust project with a flake that worked, but now that I have to bump a library to a newer version, I get this error:
last 10 log lines:
> 0: failed to load source for dependency `bech32`
> 1: Unable to update registry `crates-io`
> 2: failed to update replaced source registry `crates-io`
> 3: failed to parse manifest at `/nix/store/6nscr07ij23a78b63xkjp2y7w1yhafn1-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/base64ct-1.8.0/Cargo.toml`
> 4: feature `edition2024` is required
>
> The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.79.0).
> Consider trying a more recent nightly release.
> See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
> ), exit_code: 101 }
| 13:55:18 |
hexa | outdated rust I'd say | 13:56:10 |
hexa | from an outdated nixpkgs version | 13:56:18 |
Rene | every crate that depends on base64ct has this issue. I'm confused because I'm using the oxalica overlay and a nightly version (1.91). But the error says Rust 1.79 | 13:57:03 |
Rene | My nixpkgs is from 2 days ago | 14:02:20 |
hexa | then the question is where does your rust come from | 14:03:26 |
hexa | 1.79.0 is quite gold | 14:03:32 |
hexa | * 1.79.0 is quite old | 14:03:34 |
hexa | nix flake metadata? | 14:03:54 |
hexa | * nix flake metadata? | 14:03:56 |
Rene | https://termbin.com/1vu7 | 14:06:46 |
Rene | I'm using the oxalica Rust overlay. If I revert all the changes to the previous Rust versions, the flake builds with Cargo 1.91 | 14:09:51 |
Rene | I did some research and I found that the base64ct team made this edition2024 change and broke half the Rust crates out there because of this error, but I don't understand how to fix it with Nix | 14:11:37 |
hexa | can you show your inputs? | 14:13:08 |
hexa | ideally you should only have a single nixpkgs | 14:13:44 |
hexa | and everything else should follow it | 14:13:48 |
Rene | I do, everything follows:
─nixpkgs: github:nixos/nixpkgs/a493e93b4a259cd9fea8073f89a7ed9b1c5a1da2
| 14:17:04 |
Rene | I don't even have a cargo-1.79 entry in /nix/store, I have no idea why the error says that | 14:20:24 |
Rene | Here's what I have found so far. If I revert the changes to the crate versions, the flake will start the devShell, with cargo-1.86. From what I read, I need at least 1.87 to fix the broken crate. | 16:34:46 |
Rene | but I'm on the latest nightly, why would Cargo be from back in Feb? | 16:35:09 |
Rene | In case it helps anyone, it turns out that the cargo-c crate has a (somehow) embedded Cargo. The fix was to move to nixpkgs-unstable, where cargo-c has a version of Cargo compatible with the base64ct crate. | 20:01:28 |
| Sean Ross joined the room. | 23:00:02 |