| 7 Oct 2024 |
| kurogeek set a profile picture. | 15:08:55 |
| kurogeek changed their profile picture. | 15:11:00 |
| 10 Oct 2024 |
| p4cmanus3r joined the room. | 13:24:15 |
| 12 Oct 2024 |
| @illegitimate-egg:matrix.org changed their profile picture. | 14:10:21 |
| steeringwheelrules joined the room. | 22:45:58 |
| 13 Oct 2024 |
| rfvizarra joined the room. | 18:36:59 |
| 15 Oct 2024 |
| Pyrox [Fox/It/She] changed their display name from Pyrox [ It/She/They/Xem ] to Pyrox [Fox/It/She]. | 02:32:50 |
| Pyrox [Fox/It/She] left the room. | 02:33:59 |
| 16 Oct 2024 |
| akshaykarle joined the room. | 09:57:45 |
| EVA-01 changed their profile picture. | 20:04:47 |
| 17 Oct 2024 |
| @phaitonican:matrix.org joined the room. | 09:24:25 |
@phaitonican:matrix.org | helloo | 09:25:03 |
@phaitonican:matrix.org | i have this flake: https://github.com/phaitonican/orangepi5b-flake | 09:25:12 |
@phaitonican:matrix.org | to cross compile nixos. it give me this error:
error: builder for '/nix/store/z10jarpf9vnq5fx8d55zzr18xf0c4zbk-orangepi5-sd-image.drv' failed with exit code 1;
last 1 log lines:
> error: executing '/nix/store/wkxn0skvsxqgx73k09aw1nsya8s6gc3f-bash-aarch64-unknown-linux-gnu-5.2p32/bin/sh': Exec format error
For full logs, run 'nix log /nix/store/z10jarpf9vnq5fx8d55zzr18xf0c4zbk-orangepi5-sd-image.drv'.
somebody help why ?
| 09:27:05 |
elikoga | It seems to me like the build process is trying to execute an arm binary on the x86 build system, which doesn't work. You could activate binfmt emulation for arm, and try again, without or with the cross compilation depending on how you want to proceed. | 09:28:47 |
@phaitonican:matrix.org | hm yea | 09:29:09 |
@phaitonican:matrix.org | thing is i compiled the whole thing | 09:29:21 |
elikoga | https://search.nixos.org/options?channel=24.05&show=boot.binfmt.emulatedSystems&from=0&size=50&sort=relevance&type=packages&query=Binfmt | 09:29:22 |
@phaitonican:matrix.org | if i use binfmt all goes away? | 09:29:32 |
elikoga | If you use binfmt you are able to use the native compilation tools But since your build fails only for the sd card, it could be that only that step is not maintained correctly. | 09:30:23 |
@phaitonican:matrix.org | yes i think so too | 09:31:19 |
@phaitonican:matrix.org | it tries to run "${nixpkgs}/nixos/lib/make-disk-image.nix" as aarch64 | 09:34:11 |
@phaitonican:matrix.org | because of the top level nixpkgs.crossSystem.config = "aarch64-unknown-linux-gnu"; | 09:34:43 |
@phaitonican:matrix.org | oh nevermind now i got it | 09:38:41 |
@phaitonican:matrix.org | thanks | 09:38:43 |
@phaitonican:matrix.org | (its other way around) | 09:38:53 |
@phaitonican:matrix.org | idk... maybe somebody can help :b | 09:42:59 |
@phaitonican:matrix.org | all good fixed by using pkgsCross.aarch64-multiplatform; instead of "globally" set it | 10:33:47 |
| bendlas changed their profile picture. | 17:37:57 |
| 18 Oct 2024 |
| @ihar.hrachyshka:matrix.org joined the room. | 21:24:03 |