bbswitch: fix build with Linux kernel version >= 5.6.0

Fixes https://github.com/NixOS/nixpkgs/issues/85564.
This commit is contained in:
Peter Simons 2020-04-19 16:25:48 +02:00
parent 0e4417f118
commit 00222dbb0e

View File

@ -15,10 +15,16 @@ stdenv.mkDerivation {
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
};
patches = [ (fetchpatch {
url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
}) ];
patches = [
(fetchpatch {
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;