!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

576 Members
125 Servers

Load older messages


SenderMessageTime
7 Feb 2026
@simonbrandner:matrix.org@simonbrandner:matrix.org set a profile picture.16:39:26
@rotechanges:matrix.orgVimy joined the room.21:00:43
8 Feb 2026
@simonbrandner:matrix.org@simonbrandner:matrix.org left the room.08:00:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) left the room.10:43:31
9 Feb 2026
@stas:mainframe.lvStasI want to try building nixos for BE PowerPC G5. Any issues with that cpu arch anyone is aware of? 10:10:29
@stas:mainframe.lvStasI have a 16GB RAM Power Mac G5, and have a working cross compiled nixos setup for armv7. Thinking of modifying it to try build an install media for G510:12:20
@k900:0upti.meK900 @Puna ^ 10:13:16
@stas:mainframe.lvStasI know I will have problems with browsers and so on later on, but I want to see how much of a desktop it can get. :D10:20:31
@stas:mainframe.lvStasAlready learned about two ABI versions the arch has, mostly soaking up the knowledge from Gentoo wiki on it10:33:03
@grimmauld:m.grimmauld.deGrimmauld (any/all) fwiw servo is pretty okay on exotics if rust supports those platforms, and rust platform support is okayish, after all its part of the linux kernel now 10:56:46
@grimmauld:m.grimmauld.deGrimmauld (any/all) so if you want a browser, try servo 10:57:03
@stas:mainframe.lvStasThanks for the tip! It is cool hardware, even the insides look more like IBM than apple made11:02:16
@stas:mainframe.lvStasTook Chinese RAM sticks like a champ11:03:34
@opna2608:matrix.orgPuna installer module needs some changes for the ISO to get properly picked up by the system. i can push a WIP PR for that later today. (it's CHRP-ish, with the usual Apple nonesense attached to it) 11:26:38
@stas:mainframe.lvStasWow! You actually did it already :D11:27:27
@stas:mainframe.lvStasI sometimes interact with PowerVM gear at work, and hope to get one at home once we discontinue AIX.11:28:23
@stas:mainframe.lvStaskust the obscurity of it makes it fun11:28:34
@stas:mainframe.lvStas* just the obscurity of it makes it fun11:28:38
@stas:mainframe.lvStasAFAIK, it needs to blessed with the right flags, and be HFS for boot from OF to work11:29:18
@opna2608:matrix.orgPuna i also haven't tried building the image cross, or actually installing nixos yet. just building nix stuff on debian natively and booting into the installer to test results. i think you'll need mac-fdisk or pdisk to get your disk formatted in APM format, and hfsutils to create the HFS boot partition and bless stuff on it. 11:29:26
@opna2608:matrix.orgPuna fix for building pdisk: https://github.com/NixOS/nixpkgs/pull/488404
hfsutils: https://github.com/NixOS/nixpkgs/pull/488494
11:29:49
@opna2608:matrix.orgPuna rust cross that involves bindgen (i.e. mesa, but other stuff too) is borked because the target triplet fixes don't get passed through: https://github.com/NixOS/nixpkgs/issues/473862
not sure if that'll affect building an iso cross though.
11:34:48
@stas:mainframe.lvStasthank you! I will try it out over the next weekend. I can also always bootstrap from an existing Linux distro if I have to11:35:00
@k900:0upti.meK900 It does 11:35:37
@k900:0upti.meK900The ISO ships Mesa11:35:40
@k900:0upti.meK900And I need to look at that PR again...11:35:45
@opna2608:matrix.orgPunaFWIW², i tried building servo on my debian installation (the nix package fails on some issues with the bundled ICU, building against system ICU gets further but then also fails on the bindgen stuff. https://github.com/NixOS/nixpkgs/pull/471491). starts up fine and displays whatever website you passed to the command, but the window wouldn't respond to any inputs.11:41:52
@opna2608:matrix.orgPuna(and i haven't had the time nor energy to debug this further, wanna get the installer out of the way first)11:43:22
@grimmauld:m.grimmauld.deGrimmauld (any/all)oh yeah i hacked around the bindgen shenanigans when i did musl servo, that one was super weird and i am unqualified to actually properly fix it i am afraid11:43:52
@stas:mainframe.lvStasIMG_20260209_124427_744.jpg
Download IMG_20260209_124427_744.jpg
11:44:44

Show newer messages


Back to Room ListRoom Version: 6