Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

Commit d37f25b

Browse files
authored
Merge pull request #55 from dorkeline/uboot-add-package-option-2
2 parents ba595e6 + 3fbf836 commit d37f25b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rpi/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ in
101101
TARGET_FIRMWARE_DIR="${firmware-path}"
102102
TARGET_OVERLAYS_DIR="$TARGET_FIRMWARE_DIR/overlays"
103103
TMPFILE="$TARGET_FIRMWARE_DIR/tmp"
104-
UBOOT="${cfg.uboot.package}/u-boot.bin"
105104
KERNEL="${kernel}/Image"
106105
SHOULD_UBOOT=${if cfg.uboot.enable then "1" else "0"}
107106
SRC_FIRMWARE_DIR="${pkgs.raspberrypifw}/share/raspberrypi/boot"
@@ -114,7 +113,7 @@ in
114113
CONFIG="${config.hardware.raspberry-pi.config-output}"
115114
116115
${lib.strings.optionalString cfg.uboot.enable ''
117-
UBOOT="${pkgs.uboot-rpi-arm64}/u-boot.bin"
116+
UBOOT="${cfg.uboot.package}/u-boot.bin"
118117
119118
migrate_uboot() {
120119
echo "migrating uboot"

0 commit comments

Comments
 (0)