!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

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

Load older messages


SenderMessageTime
9 Apr 2025
@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
@dramforever:matrix.orgdramforeverstill fails later on some python pip problem, no idea 07:02:18
@michal:tar.blackMichal Trying to bootstrap NixOS on my VisionFive2, is there, like, any way to do so right now? 😅 it seems even if i strip configuration.nix of everything except the hostname declaration it still gets stuck on not being able to bootstrap GHC 07:29:41
@dramforever:matrix.orgdramforeverwhat have you tried? did you try this? https://github.com/NixOS/nixos-hardware/tree/master/starfive/visionfive/v207:37:11
@dramforever:matrix.orgdramforeveractually what do you mean by "bootstrap NixOS"07:37:32
@alex:tunstall.xyzAlex
In reply to @michal:tar.black
Trying to bootstrap NixOS on my VisionFive2, is there, like, any way to do so right now? 😅 it seems even if i strip configuration.nix of everything except the hostname declaration it still gets stuck on not being able to bootstrap GHC
Do you actually care about having Haskell packages or do you just want minimal system?
07:38:33
@michal:tar.blackMichalSorry to be clearer by Bootstrap I suppose I just mean... edit the default config at all07:38:39
@michal:tar.blackMichalI did Haskell in college, I'd rather stay away from it as far as possible if I have the choice 🤣07:39:09
@dramforever:matrix.orgdramforeverit would help if you can share the config07:39:53
@michal:tar.blackMichalSure, one sec07:40:06
@alex:tunstall.xyzAlex
In reply to @michal:tar.black
I did Haskell in college, I'd rather stay away from it as far as possible if I have the choice 🤣

Then you just need to disable the use of ShellCheck to check shell scripts.

@fgaz may be able to offer detailed instructions.

07:41:40
@dramforever:matrix.orgdramforeveroh wait i get it, you're trying to native build stuff?07:42:34
@michal:tar.blackMichalyes that's right07:42:43
@dramforever:matrix.orgdramforeveryeah it's probably just shellcheck07:43:04
@michal:tar.blackMichalI'll assume entirely disabling shellcheck is a lot easier said than done07:45:24
@dramforever:matrix.orgdramforever it shouldn't be, there's a check inside writeShellApplication for that 07:46:24
@dramforever:matrix.orgdramforever do you still get it if you don't bring in firmware.nix from nixos-hardware 07:47:18
@dramforever:matrix.orgdramforeveri don't remember having this problem...07:47:28
@michal:tar.blackMichalYep07:47:37
@michal:tar.blackMichalOut of morbid curiosity I genuinely blanked out everything except the filesystem declarations in hardware-configuration.nix and just the hostname in configruation.nix and somehow it still complained about it07:48:14
@michal:tar.blackMichalThe problematic thing for me is it only complains if I have the RISC-V binary caches enabled- otherwise it goes straight ahead to trying to build perl (which wouldn't exactly be a short build)07:49:29

Show newer messages


Back to Room ListRoom Version: 10