!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

562 Members
118 Servers

Load older messages


SenderMessageTime
9 Feb 2026
@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
@stas:mainframe.lvStasTempted to get it off the shelf now, but life has other priorities :)11:45:05
@stas:mainframe.lvStasKid did enjoy playing the OSX version of Starcraft on it11:46:03
@opna2608:matrix.orgPunai won't post mine, it's considerably more messed up. dude from bavaria shipped it with just a single layer of cardboard taped around it, and DHL did its thing. 😅11:47:21
@opna2608:matrix.orgPunaall the nice aluminium either has holes poked into it or has mostly broken off the frame. it's sitting on some wood blocks, otherwise it'd stand at a 45° angle.11:48:56
@stas:mainframe.lvStasI got it for 50EUR on Marketplace, while away from home. Just could not pass. Then it travelled in a car north to south almost all Europe.12:28:05
@amy:catgirl.cloudA. (they/them) changed their display name from Amy to A. (they/them).18:26:58
@opna2608:matrix.orgPuna (#exotic:nixos.org might be a better channel for this until this rolls back to being about issues with cross, but I'll reply here ig)
https://github.com/NixOS/nixpkgs/pull/488831 is what I needed for the installer to be recognised (and for it to look nice in the boot menu)
https://github.com/OPNA2608/nixpkgs/commit/848a9e2f68e726b3727d10e759074eae3c6414e6 has the config i'm using
env "NIX_PATH=nixpkgs=$PWD:nixos-config=$PWD/newworldmac-nixos-installer.nix" nom-build ./nixos -A config.system.build.images.iso is what i've been using to build it
19:23:32
@opna2608:matrix.orgPuna * (#exotic:nixos.org might be a better channel for this until this rolls back to being about issues with cross, but I'll reply here ig)
https://github.com/NixOS/nixpkgs/pull/488831 is what I needed for the installer to be recognised (and for it to look nice in the boot menu).
https://github.com/OPNA2608/nixpkgs/commit/848a9e2f68e726b3727d10e759074eae3c6414e6 has the config i'm using.
env "NIX_PATH=nixpkgs=$PWD:nixos-config=$PWD/newworldmac-nixos-installer.nix" nom-build ./nixos -A config.system.build.images.iso is what i've been using to build it.
and the wip/ppc64-installer branch on my nixpkgs fork has the full nixpkgs state that i've been using to build & test everything. cherrypicked fixes from master-past-fork and staging, and relevant open PRs.
19:31:44
10 Feb 2026
@mon:tchncs.depneumatic changed their display name from ribosomerocker to pneumatic.10:28:26
@ashley_:matrix.org@ashley_:matrix.org left the room.10:36:46

There are no newer messages yet.


Back to Room ListRoom Version: 6