mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
bbswitch: fix build with Linux kernel version >= 5.6.0
Fixes https://github.com/NixOS/nixpkgs/issues/85564.
This commit is contained in:
parent
0e4417f118
commit
00222dbb0e
@ -15,10 +15,16 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
|
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ (fetchpatch {
|
patches = [
|
||||||
url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
|
(fetchpatch {
|
||||||
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
|
url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
|
||||||
}) ];
|
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/Bumblebee-Project/bbswitch/pull/196.patch";
|
||||||
|
sha256 = "02ihy3piws7783qbm9q0mb9s18ipn5ckdy1iar74xn31qjrsn99n";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user