Exotic Nix Targets | 347 Members | |
| 106 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Jun 2023 | ||
| Did anyone else run into this issue? Or do you all cross compile? | 14:40:30 | |
| Huh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox? | 17:25:03 | |
| * Huh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox? Or maybe riscv bootstrap-tools is broken? | 17:28:17 | |
| 17:39:57 | ||
W H Y | 18:01:13 | |
| 18:01:26 | ||
| I don't think that's even accurate | 18:04:52 | |
| it's never bash | 18:04:55 | |
| if it exists, it's busybox sh | 18:05:08 | |
| im not even sure that my pi2 is like... booting the nixos image im feeding it | 21:30:15 | |
| at all | 21:30:18 | |
| i have been struggling to get even serial output | 21:30:25 | |
| current state of the flake http://dpaste.com/5ZYQ2X66E | 21:30:45 | |
| * i have been struggling to get even serial output and have so far failed | 21:30:56 | |
| the raspi wiki says the pi2 uses mainline kernel. maybe i should try and switch to downstream kernel though im not quite sure how to do that | 21:31:35 | |
| oh wow sd-image-raspberrypi.nix is suuuuper barebones huh? cant even change config.txt with it | 21:46:17 | |
| 5 Jun 2023 | ||
In reply to @artemis:arty.chatDoesn't it have uefi support? https://github.com/ms-iot/RPi-UEFI#raspberrypi23-uefi | 15:03:42 | |
| does the standard installer for pi3 use uefi? | 16:00:11 | |
| 16:47:53 | ||
In reply to @qbit:tapenet.org The installer SD image seems to use u-boot. The hardware itself does not support UEFI, but there are firmware images you can put on the SD card to get UEFI support. If you need it, you may want to check whether Nixpkgs has packaged it already. | 21:56:38 | |
Download Screenshot from 2023-06-05 15-23-06.png | 22:25:05 | |
| nix compiles :oo | 22:25:28 | |
| whoa | 23:38:57 | |
| nice | 23:38:58 | |
| 7 Jun 2023 | ||
| 08:01:26 | ||
In reply to @fgaz:matrix.org I don't know if you're still struggling with it, but I've had great success cross-compiling the binary tarball for 2.16.1 on x86_64, copy it to the host, then extract and run as usual. It's been easier than trying to debug confusing autoreconf errors or figure out what Debian packages provide the needed libraries. (Though for some reason the nix commands only work for me when executed as root.) You'll need to add | 10:42:24 | |
| In the end I managed to compile it (thanks Alyssa Ross for the hint about busybox btw) | 10:44:51 | |
| My current blocker is [this](https://github.com/NixOS/nixpkgs/pull/236420) (llvm 15 won't build on riscv) | 10:48:26 | |
In reply to @raitobezarius:matrix.orgMaybe Domen can help, like with nix-community | 10:52:09 | |
In reply to @fgaz:matrix.orgHmm, at least building natively worked fine last I tried | 19:16:42 | |