!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

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

Load older messages


SenderMessageTime
13 Mar 2025
@liberodark:matrix.orgliberodarkHi08:31:03
@liberodark:matrix.orgliberodarkI want to use nixos lxc for specific use case.08:31:25
@liberodark:matrix.orgliberodarkHave see nix is available in riscv64 but not lxc.08:31:42
@liberodark:matrix.orgliberodarkYou know a way to create one or lxc is too early for nixos on riscv64 actually ?08:32:31
@liberodark:matrix.orgliberodarkBest Regards08:32:36
@alex:tunstall.xyzAlex
In reply to @liberodark:matrix.org
You know a way to create one or lxc is too early for nixos on riscv64 actually ?
Have you tried compiling it?
08:39:27
@liberodark:matrix.orgliberodarkI can is needed08:40:23
@liberodark:matrix.orgliberodarkHave just try to build image for now.08:40:38
@liberodark:matrix.orgliberodark* I can if is needed08:40:49
@alex:tunstall.xyzAlexExpect most things to require building from source.08:43:18
@liberodark:matrix.orgliberodarkYes, I noticed that. For example, a simple btop will require a lot of builder stuff.08:48:47
17 Mar 2025
@egrieco:matrix.orgegrieco joined the room.06:47:18
@jappie:jappie.devjappie joined the room.08:08:25
@flx-:matrix.orgflx joined the room.19:40:21
@flx-:matrix.orgflxAre there any plans to introduce RISC-V binary builds in the official NixOS caches?21:39:22
@rosscomputerguy:matrix.orgTristan Ross
In reply to @flx-:matrix.org
Are there any plans to introduce RISC-V binary builds in the official NixOS caches?
Maybe in the future once hardware is more stable
21:39:56
@rosscomputerguy:matrix.orgTristan Ross The P550 is a good option but unstable 21:40:25
@rosscomputerguy:matrix.orgTristan RossI've tried builds on one and everything segfaults21:40:38
@alex:tunstall.xyzAlexPerformance is also a problem, because it takes a lot of compute to build every change in Nixpkgs (AFAIK Hydra is the only sane way of getting things into the official cache).21:41:31
@rosscomputerguy:matrix.orgTristan RossYeah, I didn't even try evals on it lol21:42:44
@alex:tunstall.xyzAlexEvals aren't a problem at all, since they run entirely on the Hydra master server, which is (presumably) x86.21:43:25
@rosscomputerguy:matrix.orgTristan RossBuilding stuff kept on failing because my VisionFive2 has a DMA issue with the NIC driver so ssh kept on crashing along with the P550 segfaults21:43:27
@rosscomputerguy:matrix.orgTristan Ross
In reply to @alex:tunstall.xyz
Evals aren't a problem at all, since they run entirely on the Hydra master server, which is (presumably) x86.
Well, I'm considering others doing local eval.
21:43:46
@rosscomputerguy:matrix.orgTristan RossLike once it's built, you have to consume it21:44:00
@rosscomputerguy:matrix.orgTristan RossTo consume it, you need the hash which you get via evals21:44:12
@flx-:matrix.orgflxAbout the stability issue. What about cross compilation?21:44:12
@rosscomputerguy:matrix.orgTristan RossCross is fine21:44:24
@rosscomputerguy:matrix.orgTristan RossYou just need something like Ampere or Epyc to do it21:44:37
@alex:tunstall.xyzAlex

Assuming that the package works in cross anyway.

Emulated is also fine, but there may still be a few bugs in QEMU's RISC-V implementation. Just a few months ago, someone found a build error only reproducible on emulated RISC-V.

21:45:31
@flx-:matrix.orgflxWhat that be a reasonable option for the NixOS project to do?21:46:40

Show newer messages


Back to Room ListRoom Version: 10