!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

241 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 74 Servers

Load older messages


SenderMessageTime
18 Mar 2026
@colemickens:matrix.orgcolemickensuh sorry I thought I sent a clarifying message, yes, I XY'd the problem a bit.01:55:07
@colemickens:matrix.orgcolemickensI'm actually after cachix. Sorry, important context.01:55:16
@colemickens:matrix.orgcolemickens* uh sorry I thought I sent a clarifying message (I definitely didn't from what I can see...), yes, I XY'd the problem a bit.01:55:38
@alex:tunstall.xyzAlex pkgsCross.riscv64.cachix evals for me on latest unstable. What commit of Nixpkgs is pinned in flake.lock? 01:56:06
@colemickens:matrix.orgcolemickens all the same, this is the derivation that fails: riscv64-unknown-linux-gnu-ghc-9.10.3 01:56:30
@colemickens:matrix.orgcolemickens I updated so it's latest nixos-unstable. I also confirmed by tracing the nodes in flake.lock and it reports 5b2c2d84341b2afb5647081c1386a80d7a8d8605 01:57:47
@alex:tunstall.xyzAlexDo you have a reproducer that only requires the Nix CLI?01:59:33
@colemickens:matrix.orgcolemickensI've just replaced my flake.{nix,lock}. Going to send it through the expensinve fat github runners to confirm output first, then I gist the flake.{nix,lock}02:08:46
@colemickens:matrix.orgcolemickensokay, it reprod: https://gist.github.com/colemickens/78af9a28c01b888726322ca6628b27f502:12:22
@alex:tunstall.xyzAlex Oh sorry, I thought you were talking about an error during eval not during realisation.
Yes, I can definitely reproduce it now.
02:24:15
@alex:tunstall.xyzAlex I've asked about it in #haskell:nixos.org.
I will see if I can fix it or at least track down the cause.
02:29:37
@jammie:matrix.orgJamieMageeI bumped into another issue while building OpenSSL https://github.com/NixOS/nixpkgs/pull/50106116:07:37
@dramforever:matrix.orgdramforeverwhat platform is this? are you building on qemu-user?16:32:17
@jammie:matrix.orgJamieMageeYes, it's on QEMU16:32:44
@dramforever:matrix.orgdramforeverthe binfmt thing, right?16:36:27
@dramforever:matrix.orgdramforeveri don't think i can in good conscience accept this. so many packages fail tests in qemu-user that we'll keep adding these, until the real riscv machine gets good then these would be obsolete16:40:52
@dramforever:matrix.orgdramforever * 16:41:04
@dramforever:matrix.orgdramforever as an example, a good while back even coreutils fails tests under qemu-user 16:41:20
@dramforever:matrix.orgdramforevera while back i wrote a hydra hack to schedule builds based on derivation meta16:43:15
@dramforever:matrix.orgdramforeverit still needs some weird extra hacks on top but it avoids changing hash16:43:32
@dramforever:matrix.orgdramforeverhttps://github.com/dramforever/hydra/tree/description-feature-hack16:44:16
@dramforever:matrix.orgdramforeverthis plus marking them in meta plus adding them into actual hydra jobs lets you schedule these failing derivations into a full system emulation or real riscv64 machine16:45:27
@dramforever:matrix.orgdramforeverit "worked", but nobody got around to actually marking stuff...16:45:48
@qyliss:fairydust.spaceAlyssa Rossglobally disable checking if using binfmt imo 😈️16:49:41
@dramforever:matrix.orgdramforever i need to get nix --binfmt-misc pr'd into nix some time... 16:50:49
@dramforever:matrix.orgdramforeverif you haven't seen, https://github.com/dramforever/nix/pull/2516:51:16
@dramforever:matrix.orgdramforever it's just a little bit too hacky, and the rabbit hole got so deep i sent a patch to linux man-pagea 16:51:55
@dramforever:matrix.orgdramforever * it's just a little bit too hacky, and the rabbit hole got so deep i sent a patch to linux man-pages 16:52:02
@jammie:matrix.orgJamieMageeYeah, qemu-user17:39:14
19 Mar 2026
@jammie:matrix.orgJamieMageeI appreciate you taking the time to look into it with me. I've closed out my PR and I'll workaround it locally with an overlay.05:20:07

Show newer messages


Back to Room ListRoom Version: 10