chore: packages version bump

This commit is contained in:
adminy 2024-09-10 14:35:02 +01:00
parent 97c85054d1
commit 0ffba0a5bf
4 changed files with 52 additions and 76 deletions

View file

@ -1,6 +1,6 @@
{ u-boot-src
, rpi-linux-6_6_31-src
, rpi-linux-6_10_0-rc5-src
, rpi-linux-6_6_47-src
, rpi-linux-6_10_8-src
, rpi-firmware-src
, rpi-firmware-nonfree-src
, rpi-bluez-firmware-src
@ -9,29 +9,9 @@
final: prev:
let
versions = {
v6_6_31 = {
src = rpi-linux-6_6_31-src;
patches = [
# Fix compilation errors due to incomplete patch backport.
# https://github.com/raspberrypi/linux/pull/6223
{
name = "gpio-pwm_-_pwm_apply_might_sleep.patch";
patch = final.fetchpatch {
url = "https://github.com/peat-psuwit/rpi-linux/commit/879f34b88c60dd59765caa30576cb5bfb8e73c56.patch";
hash = "sha256-HlOkM9EFmlzOebCGoj7lNV5hc0wMjhaBFFZvaRCI0lI=";
};
}
{
name = "ir-rx51_-_pwm_apply_might_sleep.patch";
patch = final.fetchpatch {
url = "https://github.com/peat-psuwit/rpi-linux/commit/23431052d2dce8084b72e399fce82b05d86b847f.patch";
hash = "sha256-UDX/BJCJG0WVndP/6PbPK+AZsfU3vVxDCrpn1kb1kqE=";
};
}
];
};
v6_10_0-rc5 = {
src = rpi-linux-6_10_0-rc5-src;
v6_6_47.src = rpi-linux-6_6_47-src;
v6_10_8 = {
src = rpi-linux-6_10_8-src;
patches = [
{
name = "remove-readme-target.patch";
@ -59,10 +39,6 @@ let
src = kernel.src;
defconfig = "${board}_defconfig";
structuredExtraConfig = with final.lib.kernel; {
# Workaround https://github.com/raspberrypi/linux/issues/6198
# Needed because NixOS 24.05+ sets DRM_SIMPLEDRM=y which pulls in
# DRM_KMS_HELPER=y.
BACKLIGHT_CLASS_DEVICE = yes;
# The perl script to generate kernel options sets unspecified
# parameters to `m` if possible [1]. This results in the
# unspecified config option KUNIT [2] getting set to `m` which
@ -140,7 +116,7 @@ in
# rpi kernels and firmware are available at
# `pkgs.rpi-kernels.<VERSION>.<BOARD>'.
#
# For example: `pkgs.rpi-kernels.v6_6_31.bcm2712'
# For example: `pkgs.rpi-kernels.v6_6_47.bcm2712'
rpi-kernels = rpi-kernels (
final.lib.cartesianProduct
{ board = boards; version = (builtins.attrNames versions); }