mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
xone: fix kernel 6.11 compatibility
(cherry picked from commit ff4117b690
)
This commit is contained in:
parent
7c1857ab19
commit
c34f195b67
@ -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}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user