Skip to content

Commit 9c0ed00

Browse files
committed
disko: use imageBuilder's pkg to dd
1 parent d362a4a commit 9c0ed00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/disko/uboot.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ in
3333
imageName = "${diskoCfg.devices.disk.main.imageName}.${diskoCfg.imageBuilder.imageFormat}";
3434
in
3535
lib.mkBefore ''
36-
${pkgs.coreutils}/bin/dd of=$out/${imageName} if=${cfg.uboot.package}/u-boot-rockchip.bin bs=4K seek=8 conv=notrunc
36+
${config.disko.imageBuilder.pkgs.coreutils}/bin/dd of=$out/${imageName} if=${cfg.uboot.package}/u-boot-rockchip.bin bs=4K seek=8 conv=notrunc
3737
'';
3838
};
3939
}

0 commit comments

Comments
 (0)