!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
128 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@qyliss:fairydust.spaceAlyssa RossSo not quite so much rebuilding14:43:15
@qyliss:fairydust.spaceAlyssa RossOh right but it rebuilds the hook 😅14:48:47
@quadradical:federated.nexusQuadRadical (Ping) it actually did end up building 14:56:06
@quadradical:federated.nexusQuadRadical (Ping)so i can confirm it works14:56:09
@emilazy:matrix.orgemilyuh, what were you building exactly?14:56:22
@emilazy:matrix.orgemilybecause the PR is sufficiently old that the package would not have been broken in the first place on its HEAD14:56:35
@emilazy:matrix.orgemilyif you tested the merge then that means something14:56:42
@quadradical:federated.nexusQuadRadical (Ping) `nix build github:alyssais/nixpkgs/cargo-cross#pkgsCross.aarch64-multiplatform.thin-pro
visioning-tools`
14:56:52
@quadradical:federated.nexusQuadRadical (Ping)
nix build github:alyssais/nixpkgs/cargo-cross#pkgsCross.aarch64-multiplatform.thin-pro
visioning-tools
14:57:14
@emilazy:matrix.orgemilyyeah, that is testing the package as it existed in like 2023 when cross wasn't broken in the first place14:57:20
@quadradical:federated.nexusQuadRadical (Ping) nix build github:alyssais/nixpkgs/cargo-cross#pkgsCross.aarch64-multiplatform.thin-provisioning-tools 14:57:28
@quadradical:federated.nexusQuadRadical (Ping) ohh, the rust cross breaking is a recent thing? 14:57:39
@emilazy:matrix.orgemilyit was probably caused by https://github.com/NixOS/nixpkgs/pull/419746.14:58:27
@emilazy:matrix.orgemilynot sure it was even Rust in 2022.14:58:34
@quadradical:federated.nexusQuadRadical (Ping)oh, i see14:58:47
@quadradical:federated.nexusQuadRadical (Ping) ill retest as soon as its rebased so let me know please :) 14:59:00
@quadradical:federated.nexusQuadRadical (Ping)and thank you emily and alyssa14:59:06
@emilazy:matrix.orgemilyI would suggest pulling Alyssa's branch locally before testing14:59:12
@emilazy:matrix.orgemilysince it is likely you will need to patch the package still14:59:18
@emilazy:matrix.orgemily(once rebased, of course)14:59:28
@quadradical:federated.nexusQuadRadical (Ping)sure yeah, ill try building as is once its rebased but if not ill pull it locally14:59:36
@Ericson2314:matrix.orgJohn Ericson Toma: feel free to try removing those exceptions 20:31:35
@Ericson2314:matrix.orgJohn Ericsonhooks should be nativeBuildInputs most of the time, which can make splicing tricky20:32:01
@Ericson2314:matrix.orgJohn EricsonI would expect it to be hard to remove them20:32:29
@sananatheskenana:matrix.orglzcuntHey 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:matrix.orgArtturin Tried specifying libc = "something";? 20:55:31
@artturin:matrix.orgArtturin * Tried specifying libc = "something"; in the platform config? 20:55:43
@sananatheskenana:matrix.orglzcuntyea ofc that works but it's awkward that -none means newlib especially for architectures that newlib doesn't support20:56:05
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/0455292066a49d3670dd7709ee82deb5531aa3c4/lib/systems/default.nix#L15220:56:28
@sananatheskenana:matrix.orglzcuntshould nixpkgs maybe not default to newlib for those architectures?20:57:59

Show newer messages


Back to Room ListRoom Version: 6