When running nix build github:NixOS/nixos-hardware#packages.aarch64-linux.rpi4-kernel the build fails. I've tried building the kernel a few times and it fails with the same error every time.
Build logs
Running nix-store -l /nix/store/gy1894s0rkfpqz2hcqir8nhn9ml3xq96-linux-rpi-6.18.39-stable_20260724.drv gives the following output:
...
CC [M] drivers/gpu/drm/nouveau/gv100_fence.o
LD [M] drivers/media/dvb-frontends/cxd2880/cxd2880.o
LD [M] drivers/gpu/drm/nouveau/ch7006.o
LD [M] drivers/gpu/drm/nouveau/sil164.o
LD [M] drivers/media/dvb-frontends/drx39xyj/drx39xyj.o
LD [M] drivers/gpu/drm/nouveau/nouveau.o
AR drivers/gpu/built-in.a
make[2]: *** [../scripts/Makefile.build:544: drivers] Error 2
make[1]: *** [/build/source/Makefile:2045: .] Error 2
make: *** [/build/source/Makefile:248: __sub-make] Error 2
I have uploaded the full logs to this gist.
System metadata
nix-shell -p nix-info --run "nix-info -m"
- system:
"aarch64-darwin"
- host os:
Darwin 25.5.0, macOS 26.5.1
- multi-user?:
yes
- sandbox:
no
- version:
nix-env (Nix) 2.29.0
- channels(root):
"nixpkgs"
- nixpkgs:
/nix/store/p2zzpis4b9gr029pffclrgc4b696h4rc-source
I am using linux-builder from nix-darwin for the build.
When running
nix build github:NixOS/nixos-hardware#packages.aarch64-linux.rpi4-kernelthe build fails. I've tried building the kernel a few times and it fails with the same error every time.Build logs
Running
nix-store -l /nix/store/gy1894s0rkfpqz2hcqir8nhn9ml3xq96-linux-rpi-6.18.39-stable_20260724.drvgives the following output:I have uploaded the full logs to this gist.
System metadata
nix-shell -p nix-info --run "nix-info -m""aarch64-darwin"Darwin 25.5.0, macOS 26.5.1yesnonix-env (Nix) 2.29.0"nixpkgs"/nix/store/p2zzpis4b9gr029pffclrgc4b696h4rc-sourceI am using linux-builder from nix-darwin for the build.