This commit is contained in:
DavHau 2025-11-05 16:39:32 +01:00 committed by GitHub
commit 219d94111f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 4 deletions

View file

@ -5,10 +5,7 @@
...
}:
let
linux_rpi5 = pkgs.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
inherit (import ./packages.nix {inherit lib pkgs;}) linux_rpi5;
in
{
boot = {

View file

@ -0,0 +1,7 @@
{ lib, pkgs, }:
{
linux_rpi5 = pkgs.linux_rpi4.override {
rpiVersion = 5;
argsOverride.defconfig = "bcm2712_defconfig";
};
}

15
release.nix Normal file
View file

@ -0,0 +1,15 @@
let
lib = import <nixpkgs/lib>;
pkgsFor.aarch64-linux = import <nixpkgs> {
system = "aarch64-linux";
};
in
{
linux_rpi5.aarch64-linux =
(
import ./raspberry-pi/5/packages.nix {
inherit lib;
pkgs = pkgsFor.aarch64-linux;
}
).linux_rpi5;
}