| 25 Apr 2025 |
dramforever | so using that (L, L, C) gcc we build a (L, C, C) gcc, and wrap that with the (L, C, *) glibc to create a (L, C, C) gcc wrapper | 05:43:04 |
dramforever | now this is as far as the whole process goes in nixpkgs | 05:43:23 |
outfoxxed | at this point we dont care about B, so just (*, C, C) right | 05:43:40 |
dramforever | everything in nixpkgs has the same b | 05:44:36 |
outfoxxed | ok that also makes sense | 05:45:08 |
outfoxxed | unless you override stdenv it wont go through QEMU or anything | 05:45:24 |
dramforever | so the way this works is
^ going up, buildPackages
l l l
l l c
l c c <- pkgs
v going down, targetPackages
| 05:46:56 |
dramforever | * so the way buildPackages and targetPackages works is
^ going up, buildPackages
l l l
l l c
l c c <- pkgs
v going down, targetPackages
| 05:47:10 |
outfoxxed | ok | 05:47:34 |
dramforever | so when you select packages from these,
l l l <- pkgs.buildPackages.buildPackages = pkgs.pkgsBuildBuild
l l c <- pkgs.buildPackages = pkgs.pkgsBuildHost
l c c <- pkgs = pkgs.pkgsHostTarget
| 05:49:23 |
outfoxxed | alright
thanks for the explanation | 05:50:09 |
dramforever | if you want to learn more there's a bunch more details in https://github.com/NixOS/nixpkgs/blob/master/doc/stdenv/stdenv.chapter.md | 05:50:55 |
| StackDoubleFlow joined the room. | 09:15:05 |
| @stackdoubleflow:matrix.org left the room. | 16:46:35 |
| 26 Apr 2025 |
| spidfightfr joined the room. | 10:56:00 |
spidfightfr | Hello everyone. I hope you're doing well. I'm new here 👋 Nice to meet you. | 10:57:16 |
| 27 Apr 2025 |
spidfightfr | Download Hello everyone, i'm working again on my riscv64 SBC, Pine64's Star64. But i got a few issues with uboot in unstable... May someone help with with this one please ? 🙏 | 10:33:39 |
spidfightfr | Redacted or Malformed Event | 10:36:23 |
spidfightfr | I think something edits the uboot config for the Star64 specifically yet it introduces errors ? I'm not sure, the error is a bit cryptic... | 10:37:31 |
| 28 Apr 2025 |
| StackDoubleFlow changed their display name from stack to StackDoubleFlow. | 02:33:33 |
| 1 May 2025 |
| Rosario Pulella changed their display name from Rosario Pulella to Rosuavio. | 20:08:11 |
| oak changed their display name from oak - mikatammi.fi to oak 🫱⭕🫲. | 23:18:17 |
| 3 May 2025 |
| getpsyched joined the room. | 14:04:57 |
getpsyched | Did you end up cross compiling? | 14:21:35 |
getpsyched | I'm also running into this. I'm trying to install nixos on my new SSD mounted onto the thing but keep getting the GHC error. I thought it was related to this https://github.com/NixOS/nixpkgs/issues/231537#issuecomment-2745384196, but even building against nixpkgs nixos-24.11 gives me the same error. | 14:23:10 |
getpsyched | Ran in circles with this, but --show-trace helped me figure this out:
- First issue was the pip needing sphinx whatever
- I added networkmanager to my config a few days ago, which also gives the GHC failure
- Moving to
nixos-24.11 meant I get the shell check error which wasn't yet fixed in that revision
Fixed now, my config's building :)
| 15:43:49 |
misuzu | https://github.com/NixOS/nixpkgs/pull/393093 | 17:23:24 |
misuzu | https://github.com/NixOS/nixpkgs/pull/399447 | 17:25:56 |
misuzu | Another riscv64 fix https://github.com/NixOS/nixpkgs/pull/403923 | 18:16:32 |
| 4 May 2025 |
getpsyched | ah nice, this fixes the cross compilation bug, right? | 15:32:53 |