use dtmerge from nativeBuildInputs

This commit is contained in:
Karolis Stasaitis 2022-08-08 19:07:05 +02:00
parent bfc438a275
commit f217e0c09a

View file

@ -21,7 +21,7 @@ with lib; (base: overlays': stdenvNoCC.mkDerivation {
echo "Applying overlay ${o.name} to $( basename $dtb )" echo "Applying overlay ${o.name} to $( basename $dtb )"
mv $dtb{,.in} mv $dtb{,.in}
cp ${o.dtboFile}{,.dtbo} cp ${o.dtboFile}{,.dtbo}
${libraspberrypi}/bin/dtmerge "$dtb.in" "$dtb" ${o.dtboFile}.dtbo; dtmerge "$dtb.in" "$dtb" ${o.dtboFile}.dtbo;
rm $dtb.in ${o.dtboFile}.dtbo rm $dtb.in ${o.dtboFile}.dtbo
fi fi
'')} '')}