| 15 Mar 2025 |
| @rasmus:fricloud.dk joined the room. | 10:30:13 |
| isabel changed their profile picture. | 14:46:58 |
| happens.lol changed their profile picture. | 16:23:04 |
| 16 Mar 2025 |
Toma | Some feedback would be appreciated for https://github.com/NixOS/nixpkgs/pull/390171
ideally, this should go into the current staging cycle | 15:08:06 |
| isabel changed their profile picture. | 17:40:00 |
| 17 Mar 2025 |
| egrieco joined the room. | 06:46:59 |
Sandro 🐧 | How can we untangle this? https://github.com/NixOS/nixpkgs/pull/389933#discussion_r1998917245
Should buildRustPackage not set configurePhase? | 14:56:57 |
K900 | That makes no sense | 14:57:47 |
K900 | It should not be buildRustPackage | 14:57:50 |
K900 | It's either using Meson or Cargo, you don't get to have both | 14:57:57 |
K900 | If it's Meson driving Cargo, look at how KDE things do it | 14:58:13 |
Sandro 🐧 | then no buildRustPackage should be used? got it | 15:04:58 |
| griff79 changed their display name from griff79 to griff. | 17:24:15 |
| 18 Mar 2025 |
FliegendeWurst | Has someone seen this error before?
Compiling serde v1.0.217
error: linker `aarch64-linux-gnu-gcc` not found
|
= note: No such file or directory (os error 2)
error: could not compile `proc-macro2` (build script) due to 1 previous error
https://hydra.nixos.org/build/290670376/nixlog/1
| 08:04:22 |
Sandro 🐧 | Our gcc is not Debian prefixes IIRC | 09:21:11 |
Sandro 🐧 | is there a .cargo/config.toml? Try deleting it | 09:21:27 |
| Fernando Rodrigues joined the room. | 10:08:16 |
Fernando Rodrigues | Hi folks. I'm getting a really weird issue with fetchCargoVendor. I'm updating below to 0.9.0, and their Cargo.toml requires anyhow 1.0.95, but Nix is vendoring 1.0.80 for some reason. | 10:11:43 |
FliegendeWurst | I'll check. This package used to build before the staging-next in February.
The odd thing is that it still builds fine for other Hydra architectures ... | 10:15:16 |
FliegendeWurst | Oh, there is a config.toml with:
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
That certainly explains it
| 10:16:00 |
Fernando Rodrigues | * Hi folks. I'm getting a really weird issue with fetchCargoVendor. I'm updating below to 0.9.0, and their Cargo.toml requires anyhow 1.0.95, but Nix is vendoring 1.0.80 for some reason. Nevermind. Upstream did an oops. | 10:21:01 |
Toma | They must have not committed the lockfile | 10:21:07 |
Toma | I se, just edited | 10:21:20 |
Toma | * I see, just edited | 10:21:28 |
Fernando Rodrigues | In reply to @tomasajt:matrix.org They must have not committed the lockfile Yep, that's exactly it. Guess we just update the lockfile ourselves and commit to Nixpkgs? | 10:21:36 |
Toma | Creating a .patch is less lines overall | 10:22:02 |
Toma | Also, maybe open an issue upstream if you have the time | 10:22:40 |
Fernando Rodrigues | In reply to @tomasajt:matrix.org Also, maybe open an issue upstream if you have the time Already one up. | 10:22:49 |
Toma | * Creating a .patch is less lines overall (remember to use cargoPatches instead of patches) | 10:23:48 |
Fernando Rodrigues | In reply to @tomasajt:matrix.org Creating a .patch is less lines overall (remember to use cargoPatches instead of patches) Uh, the patch ended up being around 400 lines longer | 10:28:32 |