| 14 Jul 2025 |
QuadRadical (Ping) | nix build github:alyssais/nixpkgs/cargo-cross#pkgsCross.aarch64-multiplatform.thin-pro
visioning-tools
| 14:57:14 |
emily | yeah, that is testing the package as it existed in like 2023 when cross wasn't broken in the first place | 14:57:20 |
QuadRadical (Ping) | nix build github:alyssais/nixpkgs/cargo-cross#pkgsCross.aarch64-multiplatform.thin-provisioning-tools | 14:57:28 |
QuadRadical (Ping) | ohh, the rust cross breaking is a recent thing? | 14:57:39 |
emily | it was probably caused by https://github.com/NixOS/nixpkgs/pull/419746. | 14:58:27 |
emily | not sure it was even Rust in 2022. | 14:58:34 |
QuadRadical (Ping) | oh, i see | 14:58:47 |
QuadRadical (Ping) | ill retest as soon as its rebased so let me know please :) | 14:59:00 |
QuadRadical (Ping) | and thank you emily and alyssa | 14:59:06 |
emily | I would suggest pulling Alyssa's branch locally before testing | 14:59:12 |
emily | since it is likely you will need to patch the package still | 14:59:18 |
emily | (once rebased, of course) | 14:59:28 |
QuadRadical (Ping) | sure yeah, ill try building as is once its rebased but if not ill pull it locally | 14:59:36 |
John Ericson | Toma: feel free to try removing those exceptions | 20:31:35 |
John Ericson | hooks should be nativeBuildInputs most of the time, which can make splicing tricky | 20:32:01 |
John Ericson | I would expect it to be hard to remove them | 20:32:29 |
lzcunt | Hey there, I'm trying to build for freestanding loongarch64, however it seems like we default on "newlib" as the libc for both "-none" and "-elf" but newlib doesn't support loongarch64. | 20:54:04 |
Artturin | Tried specifying libc = "something";? | 20:55:31 |
Artturin | * Tried specifying libc = "something"; in the platform config? | 20:55:43 |
lzcunt | yea ofc that works but it's awkward that -none means newlib especially for architectures that newlib doesn't support | 20:56:05 |
Artturin | https://github.com/NixOS/nixpkgs/blob/0455292066a49d3670dd7709ee82deb5531aa3c4/lib/systems/default.nix#L152 | 20:56:28 |
lzcunt | should nixpkgs maybe not default to newlib for those architectures? | 20:57:59 |
lzcunt | ok so this doesn't work | 21:06:43 |
Artturin | In what way? | 21:07:32 |
Artturin | In the way that it doesn't override the libc selection in systems/default.nix? | 21:07:47 |
Artturin | Or just a build issue | 21:07:53 |
lzcunt | I'm trying to get a blame 1 minute | 21:13:12 |
lzcunt | https://github.com/NixOS/nixpkgs/blob/0455292066a49d3670dd7709ee82deb5531aa3c4/pkgs/top-level/all-packages.nix#L8188 this wasn't updated in 5c1955ff1404eddf3c0379a0573aabe83ac5bca3 (libcCross: Remove!) | 21:21:31 |
lzcunt | but even if it was, setting anything other than null would throw | 21:21:51 |
lzcunt | and gcc can't target something with libc = null; because it uses the libc name in the include dir path | 21:24:20 |