diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 9d4e04d1c18a..617b71a6b2a1 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -77,7 +77,6 @@ let ncurses # tools/kwboot bc bison - dtc flex installShellFiles (buildPackages.python3.withPackages (p: [ @@ -96,7 +95,7 @@ let enableParallelBuilding = true; makeFlags = [ - "DTC=dtc" + "DTC=${lib.getExe buildPackages.dtc}" "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ] ++ extraMakeFlags;