!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

576 Members
125 Servers

Load older messages


SenderMessageTime
10 Feb 2026
@ashley_:matrix.org@ashley_:matrix.org left the room.10:36:46
@grimmauld:m.grimmauld.deGrimmauld (any/all) left the room.19:48:27
@janusz-bit:matrix.org@janusz-bit:matrix.org left the room.22:42:57
11 Feb 2026
@stas:mainframe.lvStasThank you! I will try it out on weekend and let you know. For now I am preparing electricity in the mancave. Wife wants me out of the bedroom with my gear :D06:48:00
@stas:mainframe.lvStasthe screenshot of boot menu is epic11:22:49
@stas:mainframe.lvStasI am starting on the build11:23:01
@stas:mainframe.lvStastrying to YOLO the cross compile. If that fails, I will move to a native build or try QEMU static12:04:06
@opna2608:matrix.orgPuna

https://github.com/NixOS/nixpkgs/issues/473862#issuecomment-3872075407 has a change to rust-bindgen which may get you further, if you fail on smth with

Unable to generate bindings: clang diagnosed error: error: version 'abielfv1' in target triple 'powerpc64-unknown-linux-gnuabielfv1' is invalid
12:08:54
@stas:mainframe.lvStas

it stopped on GRUB:

make[2]: *** [Makefile:14916: unicode.pf2] Error 1
       > ./build-grub-mkfont: error while loading shared libraries: /nix/store/92k5h8m28vfmvsdn464yfbi7br8wrb55-freetype-powerpc64-unknown-linux-gnuabielfv1-2.13.3/lib/libfreetype.so.6: ELF file data encoding not little-endian

It tried to generate fonts and got confused between host and cross system it seems. No worries, I will try it on a native system on the weekend

17:06:23
@opna2608:matrix.orgPuna i feel like i had fixed that at some point when i tried to test grub2_ieee1275 built cross… 17:28:03
@opna2608:matrix.orgPuna ah, i must've excluded that to get rid of 10.rebuild-nixos-tests17:29:48
@opna2608:matrix.orgPunahttps://github.com/NixOS/nixpkgs/commit/5dd035f7ff49bf2ff560720e46d5505cd02e1367 try applying this17:30:37
@opna2608:matrix.orgPuna * ah, i must've excluded that to get rid of 10.rebuild-nixos-tests on the grub2_ieee1275 init, and then forgotten about submitting that separately… 17:37:15
@stas:mainframe.lvStasapplied, and re-trying17:59:03
@opna2608:matrix.orgPuna building the BootX with the fancy nixos flake icon cross fails. moving ppm2osbadgeicon from the let block into pkgs/by-name/pm/ppm2osbadgeicons so it doesn't try to run a cross-compiled binary should fix it… 18:17:28
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:31:03
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:31:03
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:18
@qyliss:fairydust.spaceAlyssa Ross joined the room.13:21:04
@symphorien:xlumurb.eusymphorien joined the room.13:29:22
@joe:monoid.aljoe joined the room.13:29:32
@cleverca22:matrix.orgcleverca22 joined the room.13:29:44
@andi:kack.itandi- joined the room.13:36:08
@sternenseemann:systemli.orgsterni (he/him) joined the room.13:39:12
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:52:21
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ joined the room.14:52:24
@thefloweringash:matrix.orgthefloweringash joined the room.14:52:43
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ changed their profile picture.18:30:44
@maljub01:matrix.orgmaljub01 joined the room.20:05:19
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.21:50:09

Show newer messages


Back to Room ListRoom Version: 6