Add raspberrypi-utils overlay for handling dropped attributes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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" { };
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user