1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

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
'')} '')}