kernel-builder: Fix detecting dtb support (after nixpkgs#110544)
This continues the fixes in commit for the changes introduced
in nixpkgs#110544.
@@ -148,7 +148,7 @@ let
exec ${buildPackages.pkgconfig}/bin/${buildPackages.pkgconfig.targetPrefix}pkg-config "$@"
'';
- hasDTB = platform ? kernelDTB && platform.kernelDTB;
+ hasDTB = platform.linux-kernel ? DTB && platform.linux-kernel.DTB;
kernelFileExtension = if isCompressed != false then ".${isCompressed}" else "";
kernelTarget = if platform.linux-kernel.target == "Image"
then "${platform.linux-kernel.target}${kernelFileExtension}"
