15 lines
475 B
Nix
15 lines
475 B
Nix
# nixpkgs unstable dropped several Raspberry Pi attrs; nixos-raspberrypi modules still
|
|
# reference them but ship derivations under pkgs/raspberrypi/.
|
|
{ inputs, ... }: {
|
|
nixpkgs.overlays = [
|
|
(final: _prev:
|
|
let
|
|
rp = "${inputs.nixos-raspberrypi}/pkgs/raspberrypi";
|
|
in
|
|
{
|
|
raspberrypi-utils = final.callPackage "${rp}/raspberrypi-utils.nix" { };
|
|
raspberrypi-udev-rules = final.callPackage "${rp}/udev-rules.nix" { };
|
|
})
|
|
];
|
|
}
|