linuxPackages.vendor-reset: patch for Linux 5.18

+10 -1
+10 -1
pkgs/os-specific/linux/vendor-reset/default.nix
··· 1 - { stdenv, fetchFromGitHub, kernel, lib }: 2 3 stdenv.mkDerivation rec { 4 pname = "vendor-reset"; ··· 10 rev = "225a49a40941e350899e456366265cf82b87ad25"; 11 sha256 = "sha256-xa7P7+mRk4FVgi+YYCcsFLfyNqPmXvy3xhGoTDVqPxw="; 12 }; 13 14 nativeBuildInputs = kernel.moduleBuildDependencies; 15
··· 1 + { stdenv, fetchFromGitHub, fetchpatch, kernel, lib }: 2 3 stdenv.mkDerivation rec { 4 pname = "vendor-reset"; ··· 10 rev = "225a49a40941e350899e456366265cf82b87ad25"; 11 sha256 = "sha256-xa7P7+mRk4FVgi+YYCcsFLfyNqPmXvy3xhGoTDVqPxw="; 12 }; 13 + 14 + patches = [ 15 + # Fix build with Linux 5.18. 16 + # https://github.com/gnif/vendor-reset/pull/58 17 + (fetchpatch { 18 + url = "https://github.com/gnif/vendor-reset/commit/5bbffcd6fee5348e8808bdbfcb5b21d455b02f55.patch"; 19 + sha256 = "sha256-L1QxVpcZAVYiaMFCBfL2EJgeMyOR8sDa1UqF1QB3bns="; 20 + }) 21 + ]; 22 23 nativeBuildInputs = kernel.moduleBuildDependencies; 24