Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

bbswitch: fix build with Linux kernel version >= 5.6.0

Fixes https://github.com/NixOS/nixpkgs/issues/85564.

(cherry picked from commit 00222db)

authored by

Peter Simons and committed by
Thiago Kenji Okada
126fb3ae db31e48c

+10 -4
+10 -4
pkgs/os-specific/linux/bbswitch/default.nix
··· 15 15 sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn"; 16 16 }; 17 17 18 - patches = [ (fetchpatch { 19 - url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch"; 20 - sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m"; 21 - }) ]; 18 + patches = [ 19 + (fetchpatch { 20 + url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch"; 21 + sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m"; 22 + }) 23 + (fetchpatch { 24 + url = "https://github.com/Bumblebee-Project/bbswitch/pull/196.patch"; 25 + sha256 = "02ihy3piws7783qbm9q0mb9s18ipn5ckdy1iar74xn31qjrsn99n"; 26 + }) 27 + ]; 22 28 23 29 nativeBuildInputs = kernel.moduleBuildDependencies; 24 30