!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

234 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v69 Servers

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


SenderMessageTime
23 Dec 2024
@alex:tunstall.xyzAlexThe vendor's graphical image should have working HDMI (with some glitchiness, unless they've fixed it).10:25:00
@xiaoxiangmoe:matrix.org@xiaoxiangmoe:matrix.org left the room.14:09:36
25 Dec 2024
@hsngrmpf:matrix.orgDavHau

Fixed a bunch of cross build issue with python packages and got home-assistant almost running, but there is one I'm having trouble with wrapping my head around. The python bcrypt library just builds its shared object for x86 instead of riscv
Any ideas why?

> nix-build -A pkgsCross.riscv64.python3Packages.bcrypt
/nix/store/xfc8xssvq2vwcn6126ml3m6fkdd1gzw0-python3.12-bcrypt-4.2.0-riscv64-unknown-linux-gnu

> file /nix/store/xfc8xssvq2vwcn6126ml3m6fkdd1gzw0-python3.12-bcrypt-4.2.0-riscv64-unknown-linux-gnu/lib/python3.12/site-packages/bcrypt/_bcrypt.cpython-312-riscv64-linux-gnu.so
/nix/store/xfc8xssvq2vwcn6126ml3m6fkdd1gzw0-python3.12-bcrypt-4.2.0-riscv64-unknown-linux-gnu/lib/python3.12/site-packages/bcrypt/_bcrypt.cpython-312-riscv64-linux-gnu.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
07:34:49
@hsngrmpf:matrix.orgDavHauThe binary is a result from a rust build. The derivation in nixpks looks fine. Other python packages containing rust cross compile correctly07:36:48
@alex:tunstall.xyzAlex The Python package's install script might not be cross-friendly; you should look at the package's source.
If it's doing the build itself, it probably found the buildPackages compiler instead of the cross compiler.
07:40:29

Show newer messages


Back to Room ListRoom Version: 10