| 9 Apr 2025 |
implr | will try, thanks | 23:26:57 |
| 10 Apr 2025 |
implr | it is cross. oh well. | 10:20:07 |
| 11 Apr 2025 |
dramforever | this is one of the most confusing dependency list i've seen, has both pkg-config and pkgconfig | 02:30:09 |
dramforever | i mean the home-assistant-chip-wheels cross thing from yesterday | 02:30:25 |
dramforever | and the scary part is it seems to be actually correct, the former is the "normal" pkg-config and the latter is a python package | 02:30:51 |
hexa | Redacted or Malformed Event | 04:02:13 |
hexa | looked at it, and I have no clue why it fails like that | 04:02:30 |
hexa | but upstream certainly didn't envision riscv64 | 04:02:36 |
hexa | this was a shitty native build to begin with | 04:02:48 |
dramforever | 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 | still fails later on some python pip problem, no idea | 07:02:18 |
Michal | 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 | what have you tried? did you try this? https://github.com/NixOS/nixos-hardware/tree/master/starfive/visionfive/v2 | 07:37:11 |
dramforever | actually what do you mean by "bootstrap NixOS" | 07:37:32 |
Alex | 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 | Sorry to be clearer by Bootstrap I suppose I just mean... edit the default config at all | 07:38:39 |
Michal | I did Haskell in college, I'd rather stay away from it as far as possible if I have the choice 🤣 | 07:39:09 |
dramforever | it would help if you can share the config | 07:39:53 |
Michal | Sure, one sec | 07:40:06 |
Alex | 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 | oh wait i get it, you're trying to native build stuff? | 07:42:34 |
Michal | yes that's right | 07:42:43 |
dramforever | yeah it's probably just shellcheck | 07:43:04 |
Michal | I'll assume entirely disabling shellcheck is a lot easier said than done | 07:45:24 |
dramforever | it shouldn't be, there's a check inside writeShellApplication for that | 07:46:24 |
dramforever | do you still get it if you don't bring in firmware.nix from nixos-hardware | 07:47:18 |
dramforever | i don't remember having this problem... | 07:47:28 |
Michal | Yep | 07:47:37 |
Michal | Out 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 it | 07:48:14 |
Michal | The 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 |