| 20 Oct 2025 |
Ami | (put the ``` on their own lines) | 13:30:42 |
minman | Hi, I try to build an SD card image for my raspberry pi 3. I use the following command and the following imports.
"${modulesPath}/profiles/base.nix"
"${modulesPath}/installer/sd-card/sd-image.nix"
nixos-generate \
--format sd-aarch64-installer \
--system aarch64-linux \
--configuration ./pi-sdcard.nix \
--out-link sd-image
But I get the following error which states that the kernel is incompatible with the aarch64-linux host platform.
error: Package ‘linux-rpi-6.6.51-stable_20241008’ in /nix/store/4xrrqhrrrxyfdf2npr5pmwrgyckdz183-source/pkgs/os-specific/linux/kernel/linux-rpi.nix:22 is not available on the requested hostPlatform:
hostPlatform.config = "aarch64-unknown-linux-gnu"
package.meta.platforms = [
"armv5tel-linux"
"armv6l-linux"
"armv7a-linux"
"armv7l-linux"
]
package.meta.badPlatforms = [ ]
, refusing to evaluate.
Do I need to specify another kernel or host platform?
| 15:48:42 |
K900 | Are you using boot.kernelPackages = pkgs.linux_raspberrypi or something | 15:49:45 |
K900 | Don't do that | 15:49:46 |
K900 | Just run mainline | 15:49:49 |
minman | Ah, I used this config as starter: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix, and I see that the kernelPackages of the raspberry pi are included. | 15:52:17 |
minman | Maybe I can better use the sd-image-aarch64-new-kernel.nix. What is the difference between the new-kernel variant and the normal one? | 15:53:21 |
K900 | You want the sd-image-aarch64 one | 15:53:29 |
K900 | Not that one | 15:53:31 |
K900 | The new-kernel variant has a mainline kernel and no ZFS support | 15:53:43 |
minman | Thanks :) | 15:53:57 |
minman | * Thanks :), it looks like it will build now. | 15:57:22 |
| Katalin 🔪 changed their profile picture. | 16:55:09 |
hexa | is it possible that lix is missing https://github.com/NixOS/nix/pull/8043? | 17:11:42 |
just1602 | I think so, because I hit this thing of nix only use bash and if you're using fish it doesn't always worked as expected | 17:14:45 |
hexa | yep, fish here | 17:15:09 |
Sofie 🏳️⚧️ (she/her) | Don't ask why I am posting this to the Lix room but here it goes:
Some good news finally :3
https://www.instagram.com/p/DP84guzDNZY/
I went to the police station yesterday to file my criminal report/investigation request about whether Kaltiala has abused her official position by attending SEGM (a hate group) conferences as a lecturer, acting as their witness in the Florida court case that led to the denial of treatment for trans youth, and serving as an external “expert” in the UK Cass Review, which led to similar outcomes there. I’ve been working on this for 16 months and haven’t been able to talk about it much so that the anti-gender activists wouldn’t start deleting evidence, but now the materials are with the police in paper form, and I have duplicate electronic copies, so now I can share what I’ve been up to. You can share the news if you feel like it.
| 17:15:43 |
hexa | off-topic | 17:15:55 |
hexa | come on | 17:15:56 |
Sofie 🏳️⚧️ (she/her) | ah | 17:16:01 |
Sofie 🏳️⚧️ (she/her) | right | 17:16:01 |
Sofie 🏳️⚧️ (she/her) | :3 | 17:16:02 |
Sofie 🏳️⚧️ (she/her) | 😇 | 17:16:10 |
hexa | remove it? | 17:32:49 |
bandithedoge | is there an offtopic room yet? | 17:33:33 |
just1602 | https://matrix.to/#/!f7ANyFfiAJtbgM98Pk:katesiria.org?via=lix.systems&via=matrix.org&via=bark.lgbt | 17:34:11 |
| tiferrei changed their display name from Tiago Ferreira to tiferrei. | 17:34:14 |
bandithedoge | thanks | 17:34:54 |
Jassuko | Oh, I forgot to mention. I dug up some older MiniPC that had Nixos 24.05 or .11 stable channel in it. I tried to get it to current unstable which failed with a weird substitution failure. I noticed it had non-lix nix in use so decided to try run the nixos-rebuild within a nix-shell with lix. To my surprise it actually worked. Lix FTW yet again. :D | 17:39:58 |
Jassuko | Kinda "lol, no way this is going to work" yolo moment, but here we are. :D | 17:41:08 |