linuxPackages.system76-io: 1.0.1 -> 1.0.2

This commit is contained in:
Shea Levy 2022-06-17 14:46:32 -04:00
parent 92a9f2a6e8
commit bce0ac2d35
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, kernel, fetchpatch }: { lib, stdenv, fetchFromGitHub, kernel }:
let let
version = "1.0.1"; version = "1.0.2";
sha256 = "0qkgkkjy1isv6ws6hrcal75dxjz98rpnvqbm7agdcc6yv0c17wwh"; sha256 = "sha256-DWUjQmoojkzFv1p4Xyt0kOwwqQ216ocO5yR/ujhhMPA=";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "system76-io-module-${version}-${kernel.version}"; name = "system76-io-module-${version}-${kernel.version}";
@ -15,19 +15,6 @@ stdenv.mkDerivation {
inherit sha256; inherit sha256;
}; };
patches = [
(fetchpatch {
name = "Fix_GCC_declaration-after-statement_error.patch";
url = "https://patch-diff.githubusercontent.com/raw/pop-os/system76-io-dkms/pull/5.patch";
sha256 = "sha256-G8SM5tdNbeLuwigmo1HKLN9o16WPpowLXxfM7Xi4aRI=";
})
(fetchpatch {
name = "Fix_GCC_unused-function_error.patch";
url = "https://patch-diff.githubusercontent.com/raw/pop-os/system76-io-dkms/pull/6.patch";
sha256 = "sha256-vCXEzszmXa+wmI84oR8WduN4WnLTZA3M4GX+Jc4p/5o=";
})
];
hardeningDisable = [ "pic" ]; hardeningDisable = [ "pic" ];
nativeBuildInputs = kernel.moduleBuildDependencies; nativeBuildInputs = kernel.moduleBuildDependencies;