Merge branch 'system76-io-5.18'

+14 -1
+14 -1
pkgs/os-specific/linux/system76-io/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, kernel }: 1 + { lib, stdenv, fetchFromGitHub, kernel, fetchpatch }: 2 2 let 3 3 version = "1.0.1"; 4 4 sha256 = "0qkgkkjy1isv6ws6hrcal75dxjz98rpnvqbm7agdcc6yv0c17wwh"; ··· 14 14 rev = version; 15 15 inherit sha256; 16 16 }; 17 + 18 + patches = [ 19 + (fetchpatch { 20 + name = "Fix_GCC_declaration-after-statement_error.patch"; 21 + url = "https://patch-diff.githubusercontent.com/raw/pop-os/system76-io-dkms/pull/5.patch"; 22 + sha256 = "sha256-G8SM5tdNbeLuwigmo1HKLN9o16WPpowLXxfM7Xi4aRI="; 23 + }) 24 + (fetchpatch { 25 + name = "Fix_GCC_unused-function_error.patch"; 26 + url = "https://patch-diff.githubusercontent.com/raw/pop-os/system76-io-dkms/pull/6.patch"; 27 + sha256 = "sha256-vCXEzszmXa+wmI84oR8WduN4WnLTZA3M4GX+Jc4p/5o="; 28 + }) 29 + ]; 17 30 18 31 hardeningDisable = [ "pic" ]; 19 32