1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19: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 )"
mv $dtb{,.in}
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
fi
'')}