From bf60cac802409f1171ef07a5998e6d811d7dc041 Mon Sep 17 00:00:00 2001 From: Alexander Szczepanski Date: Wed, 9 Oct 2024 14:23:08 +0200 Subject: [PATCH] xone: added fix for kernel version 6.12 --- pkgs/os-specific/linux/xone/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/os-specific/linux/xone/default.nix b/pkgs/os-specific/linux/xone/default.nix index b0da374d9874..f75b4696f40b 100644 --- a/pkgs/os-specific/linux/xone/default.nix +++ b/pkgs/os-specific/linux/xone/default.nix @@ -19,6 +19,13 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/medusalix/xone/commit/28df566c38e0ee500fd5f74643fc35f21a4ff696.patch"; hash = "sha256-X14oZmxqqZJoBZxPXGZ9R8BAugx/hkSOgXlGwR5QCm8="; }) + # Fix build on kernel 6.12 + # https://github.com/medusalix/xone/pull/53 + (fetchpatch { + name = "kernel-6.12.patch"; + url = "https://github.com/medusalix/xone/commit/d88ea1e8b430d4b96134e43ca1892ac48334578e.patch"; + hash = "sha256-zQK1tuxu2ZmKxPO0amkfcT/RFBSkU2pWD0qhGyCCHXI="; + }) ]; setSourceRoot = ''