Skip to content

Commit

Permalink
[Backport release-24.05] xone: fix kernel 6.11 compatibility (#343160)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Sep 20, 2024
2 parents bef6c7b + c34f195 commit 37a2371
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/os-specific/linux/xone/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-srAEw1ai5KT0rmVUL3Dut9R2mNb00AAZVCcINikh2sM=";
};

patches = [
# Fix build on kernel 6.11
# https://github.com/medusalix/xone/pull/48
(fetchpatch {
name = "kernel-6.11.patch";
url = "https://github.com/medusalix/xone/commit/28df566c38e0ee500fd5f74643fc35f21a4ff696.patch";
hash = "sha256-X14oZmxqqZJoBZxPXGZ9R8BAugx/hkSOgXlGwR5QCm8=";
})
];

setSourceRoot = ''
export sourceRoot=$(pwd)/${finalAttrs.src.name}
'';
Expand Down

0 comments on commit 37a2371

Please sign in to comment.