!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

702 Members
Rust160 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
17 Mar 2025
@k900:0upti.meK900It should not be buildRustPackage14:57:50
@k900:0upti.meK900It's either using Meson or Cargo, you don't get to have both14:57:57
@k900:0upti.meK900If it's Meson driving Cargo, look at how KDE things do it14:58:13
@sandro:supersandro.deSandro 🐧then no buildRustPackage should be used? got it15:04:58
@griff79:matrix.orggriff79 changed their display name from griff79 to griff.17:24:15
18 Mar 2025
@fliegendewurst:matrix.orgFliegendeWurst

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:supersandro.deSandro 🐧Our gcc is not Debian prefixes IIRC09:21:11
@sandro:supersandro.deSandro 🐧is there a .cargo/config.toml? Try deleting it09:21:27
@sigmasquadron:matrix.orgFernando Rodrigues joined the room.10:08:16
@sigmasquadron:matrix.orgFernando 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:matrix.orgFliegendeWurstI'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:matrix.orgFliegendeWurst

Oh, there is a config.toml with:

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

That certainly explains it

10:16:00
@sigmasquadron:matrix.orgFernando 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
@tomasajt:matrix.orgTomaThey must have not committed the lockfile10:21:07
@tomasajt:matrix.orgTomaI se, just edited10:21:20
@tomasajt:matrix.orgToma* I see, just edited10:21:28
@sigmasquadron:matrix.orgFernando 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

Show newer messages


Back to Room ListRoom Version: 6