···1010 pkgs.ubootRaspberryPi
1111 else if version == 2 then
1212 pkgs.ubootRaspberryPi2
1313- else
1313+ else if version == 3 then
1414 if isAarch64 then
1515 pkgs.ubootRaspberryPi3_64bit
1616 else
1717- pkgs.ubootRaspberryPi3_32bit;
1717+ pkgs.ubootRaspberryPi3_32bit
1818+ else
1919+ throw "U-Boot is not yet supported on the raspberry pi 4.";
18201921 extlinuxConfBuilder =
2022 import ../generic-extlinux-compatible/extlinux-conf-builder.nix {
+5
nixos/release.nix
···180180 inherit system;
181181 });
182182183183+ sd_image_raspberrypi4 = forMatchingSystems [ "aarch64-linux" ] (system: makeSdImage {
184184+ module = ./modules/installer/cd-dvd/sd-image-raspberrypi4.nix;
185185+ inherit system;
186186+ });
187187+183188 # A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF).
184189 ova = forMatchingSystems [ "x86_64-linux" ] (system:
185190