Merge pull request #91444 from lorenzleutgeb/patch-1
linuxPackages.e1000e: 3.3.5.3 -> 3.8.4
This commit is contained in:
commit
4f5c36b3f3
@ -4,11 +4,11 @@ assert stdenv.lib.versionOlder kernel.version "4.10";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "e1000e-${version}-${kernel.version}";
|
||||
version = "3.3.5.3";
|
||||
version = "3.8.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/e1000/e1000e-${version}.tar.gz";
|
||||
sha256 = "1ajz3vdnf1y307k585w95r6jlh4ah8d74bq36gdkjl1z5hgiqi9q";
|
||||
sha256 = "1q8dbqh14c7r15q6k6iv5k0d6xpi74i71d5r54py60gr099m2ha4";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
|
||||
configurePhase = ''
|
||||
cd src
|
||||
kernel_version=${kernel.modDirVersion}
|
||||
sed -i -e 's|/lib/modules|${kernel.dev}/lib/modules|' Makefile
|
||||
substituteInPlace common.mk \
|
||||
--replace "/lib/modules" "${kernel.dev}/lib/modules"
|
||||
export makeFlags="BUILD_KERNEL=$kernel_version"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user