Skip to content

Commit

Permalink
linux_jovian: 6.8.12-valve5 -> 6.8.12-valve7
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Nov 19, 2024
1 parent a2c6d8d commit 65dc043
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions pkgs/linux-jovian/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
{ lib, fetchFromGitHub, buildLinux, fetchpatch, ... } @ args:
{ lib, fetchFromGitHub, buildLinux, ... } @ args:

let
inherit (lib) versions;

kernelVersion = "6.8.12";
vendorVersion = "valve5";
hash = "sha256-87I/BHGt2DnF8jGcWuB7FVCtlyRh51fsIviyuNkeXvw=";
vendorVersion = "valve7";
hash = "sha256-B0x40FuHeoE+9YBe3N3o2Hzz54hreCa6gQ0HFl7FzPU=";
in
buildLinux (args // rec {
version = "${kernelVersion}-${vendorVersion}";

kernelPatches = (args.kernelPatches or []) ++ [
{
name = "revert-bluetooth-mgmt-quectel.diff";
# The patch originally intended to make bluez aware of its own flag changes.
# Bluez now is aware of its own changes starting with bluez 5.78
# - https://github.com/bluez/bluez/commit/9cc587947b6ac56a4c94dcc880b273bc72af22a8
# Without reverting this change, Bluez 5.78+ gets into a loop setting flags.
# See: https://github.com/Jovian-Experiments/Jovian-NixOS/issues/441
patch = fetchpatch {
url = "https://github.com/Jovian-Experiments/linux/commit/3ea1541efc91116181ec4abcebd62810df7aff33.patch";
hash = "sha256-RYDnJGz349VVZ3YWpDfPb3aSLH2noAnn2xFDqHW26DQ=";
revert = true;
};
}
];

# branchVersion needs to be x.y
extraMeta.branch = versions.majorMinor version;

Expand Down

0 comments on commit 65dc043

Please sign in to comment.