mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
15 lines
409 B
Nix
15 lines
409 B
Nix
|
{ stdenvNoCC, raspberrypifw }:
|
||
|
|
||
|
stdenvNoCC.mkDerivation {
|
||
|
name = "raspberrypi-dtbs-${raspberrypifw.version}";
|
||
|
nativeBuildInputs = [ raspberrypifw ];
|
||
|
buildCommand = ''
|
||
|
mkdir -p $out/broadcom/
|
||
|
cp ${raspberrypifw}/share/raspberrypi/boot/bcm*.dtb $out/broadcom
|
||
|
'';
|
||
|
passthru = {
|
||
|
# Compatible overlays that may be used
|
||
|
overlays = "${raspberrypifw}/share/raspberrypi/boot/overlays";
|
||
|
};
|
||
|
}
|