mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
Merge pull request #233222 from erdnaxe/xone-fix
xone: fix kernel 6.3 compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, kernel, fetchurl }:
|
||||
{ stdenv, lib, fetchFromGitHub, kernel, fetchurl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xone";
|
||||
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-h+j4xCV9R6hp9trsv1NByh9m0UBafOz42ZuYUjclILE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build on kernel 6.3
|
||||
(fetchpatch {
|
||||
name = "kernel-6.3.patch";
|
||||
url = "https://github.com/medusalix/xone/commit/bbf0dcc484c3f5611f4e375da43e0e0ef08f3d18.patch";
|
||||
hash = "sha256-A2OzRRk4XT++rS6k6EIyiPy/LJptvVRUxoP7CIGrPWU=";
|
||||
})
|
||||
];
|
||||
|
||||
setSourceRoot = ''
|
||||
export sourceRoot=$(pwd)/source
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user