Nix Cross Compiling | 560 Members | |
| 117 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Feb 2026 | ||
| Took Chinese RAM sticks like a champ | 11:03:34 | |
| 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 | |
| Wow! You actually did it already :D | 11:27:27 | |
| I sometimes interact with PowerVM gear at work, and hope to get one at home once we discontinue AIX. | 11:28:23 | |
| kust the obscurity of it makes it fun | 11:28:34 | |
| * just the obscurity of it makes it fun | 11:28:38 | |
| AFAIK, it needs to blessed with the right flags, and be HFS for boot from OF to work | 11:29:18 | |
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 | |
fix for building pdisk: https://github.com/NixOS/nixpkgs/pull/488404hfsutils: https://github.com/NixOS/nixpkgs/pull/488494 | 11:29:49 | |
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/473862not sure if that'll affect building an iso cross though. | 11:34:48 | |
| thank you! I will try it out over the next weekend. I can also always bootstrap from an existing Linux distro if I have to | 11:35:00 | |
| It does | 11:35:37 | |
| The ISO ships Mesa | 11:35:40 | |
| And I need to look at that PR again... | 11:35:45 | |
| FWIW², 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 | |
| (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 | |
| 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 afraid | 11:43:52 | |
Download IMG_20260209_124427_744.jpg | 11:44:44 | |
| Tempted to get it off the shelf now, but life has other priorities :) | 11:45:05 | |
| Kid did enjoy playing the OSX version of Starcraft on it | 11:46:03 | |
| i 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 | |
| all 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 | |
| I 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 | |
| 18:26:58 | ||
| (#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 | |
| * (#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 | ||
| 10:28:26 | ||
| 10:36:46 | ||
| 19:48:27 | ||
| 22:42:57 | ||