!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

232 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
9 Apr 2025
@implr:hackerspace.plimplrHaven't tried native yet23:16:05
@alex:tunstall.xyzAlex You could try cross-compiling to aarch64.
If that fails with a similar error, then it's likely because of cross and not because of host arch.
23:17:21
@implr:hackerspace.plimplrhuh, why didn't I think of that, of course23:26:46
@implr:hackerspace.plimplrwill try, thanks23:26:57
10 Apr 2025
@implr:hackerspace.plimplrit is cross. oh well.10:20:07
11 Apr 2025
@dramforever:matrix.orgdramforever this is one of the most confusing dependency list i've seen, has both pkg-config and pkgconfig 02:30:09
@dramforever:matrix.orgdramforeveri mean the home-assistant-chip-wheels cross thing from yesterday02:30:25
@dramforever:matrix.orgdramforeverand the scary part is it seems to be actually correct, the former is the "normal" pkg-config and the latter is a python package02:30:51
@hexa:lossy.networkhexaRedacted or Malformed Event04:02:13
@hexa:lossy.networkhexalooked at it, and I have no clue why it fails like that04:02:30
@hexa:lossy.networkhexabut upstream certainly didn't envision riscv6404:02:36
@hexa:lossy.networkhexathis was a shitty native build to begin with04:02:48
@dramforever:matrix.orgdramforever

found how to fix the pkg-config problem

--- a/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix
+++ b/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix
@@ -259,6 +259,7 @@ stdenv.mkDerivation rec {
     ''target_cc="${stdenv.cc.targetPrefix}cc"''
     ''target_cxx="${stdenv.cc.targetPrefix}c++"''
     ''target_ar="${stdenv.cc.targetPrefix}ar"''
+    ''pkg_config="${stdenv.cc.targetPrefix}pkg-config"''
   ];
 
   preBuild = ''
07:01:51

Show newer messages


Back to Room ListRoom Version: 10