| 16 Oct 2025 |
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 |
| 17 Oct 2025 |
| kumavis joined the room. | 07:28:02 |
kumavis | Redacted or Malformed Event | 07:36:15 |
kumavis | Redacted or Malformed Event | 07:37:15 |
| Timur Gainullin changed their profile picture. | 09:53:46 |
| turbio joined the room. | 23:54:21 |
| 18 Oct 2025 |
| @ihar.hrachyshka:matrix.org left the room. | 00:12:24 |
| 19 Oct 2025 |
| tiferrei joined the room. | 15:43:27 |
| @tiferrei:matrix.org left the room. | 15:45:28 |
| azahi left the room. | 15:47:03 |
| @edrex:matrix.org left the room. | 16:23:21 |