Nix Cross Compiling | 580 Members | |
| 126 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Feb 2026 | ||
| i'm failing in
| 12:42:07 | |
| i'll try to submit the grub thing from earlier when i have time (not rn) and i'll adjust the bootx stuff so cross is happier, but i don't have a clue for this one. you might have to setup either a VM or some other linux distro on the machine itself, build the image natively, and let the machine run for afew days… | 12:43:49 | |
| * i'll try to submit the grub thing from earlier when i have time (not rn) and i'll adjust the bootx stuff so cross is happier, but i don't have a clue for this one. you might have to setup either a VM or some other linux distro on the machine itself, start building the image natively, and let the machine run for afew days to complete the builds… | 12:44:23 | |
| (same error on nixpkgs master FWIW) | 12:45:51 | |
i think the issue is that we fix up the target triplet for clang by passing -target powerpc64-unknown-linux-gnu, but don't have a powerpc64-unknown-linux-gnu-ld in clangStdenv.cc.bintools. only a powerpc64-unknown-linux-gnuabielfv1-ld… guh | 13:29:26 | |
-fuse-ld=<full path to corresponding bintools wrapper>/bin/<original target>-ld works… anything against throwing this into the General clang support section somehow? | 13:44:39 | |
* -fuse-ld=<full path to corresponding bintools wrapper>/bin/<original target triplet>-ld works… anything against throwing this into the General clang support section somehow? | 13:44:49 | |
| "if doing cross cross and <new target triplet>-ld doesn't exist, add the above flag" | 13:45:26 | |
| or it might be time to look deeper into clang and figure out how to make it just accept our full triplets like GCC does, instead of requiring all this song-and-dance. but big scary code base… | 13:46:24 | |
| 20:33:44 | ||
| 13 Feb 2026 | ||
| 10:20:07 | ||
| so it definitely also links
| 14:35:11 | |
| https://github.com/NixOS/nixpkgs/pull/490128 | 14:49:00 | |
| I hope to learn more about nix by osmosis just by being in these channels :) | 17:46:17 | |
| 15 Feb 2026 | ||
| 17:37:03 | ||
| 16 Feb 2026 | ||
| 13:48:48 | ||
| 13:50:12 | ||
| 15:18:32 | ||
| 18 Feb 2026 | ||
| has someone successfully crosscompiled gnome passes? it fails at build, but if i change the python in native buildinputs to ' (buildPackages.python3.withPackages (pp: [ pp.pygobject3 ]))' (adding the buildPackages prefix) it successuflly compiles, but i cant execute the resulting binary | 11:34:53 | |
| What's the package name, I don't see a package called gnome-passes | 11:59:45 | |
.withPackages discards splicing so you have to python3.pythonOnBuildForHost or buildPackages.python3 | 12:01:02 | |
| the package name is just passes | 12:09:15 | |
| Doesn't look related to gnome :P | 12:11:04 | |
| Why does it not launch | 12:11:09 | |
| Can't cross on my laptop atm | 12:11:14 | |
| Wrong python in some place I assume | 12:13:05 | |
| Shebang? add python3 to buildInpus and patchShebang --host the file in bin | 12:13:34 | |
* Shebang? add python3 to buildInputs and patchShebang --host the file in bin | 12:13:53 | |
| i now looked at .passes-wrapped the shebang indeed is the x86_64 (builder not host) version of python | 12:14:50 | |
| will try that | 12:14:59 | |