tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kernelPackages.r8168: 8.047.04 -> 8.048.03
Bernardo Meurer
5 years ago
82d0986c
373d71d2
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
r8168
default.nix
+4
-4
pkgs/os-specific/linux/r8168/default.nix
···
6
6
in stdenv.mkDerivation rec {
7
7
name = "r8168-${kernel.version}-${version}";
8
8
# on update please verify that the source matches the realtek version
9
9
-
version = "8.047.04";
9
9
+
version = "8.048.03";
10
10
11
11
# This is a mirror. The original website[1] doesn't allow non-interactive
12
12
# downloads, instead emailing you a download link.
···
17
17
owner = "mtorromeo";
18
18
repo = "r8168";
19
19
rev = version;
20
20
-
sha256 = "1rni8jimwdhyx75603mdcylrdxgfwfpyprf1lf5x5cli2i4bbijg";
20
20
+
sha256 = "1l8llpcnapcaafxp7wlyny2ywh7k6q5zygwwjl9h0l6p04cghss4";
21
21
};
22
22
23
23
hardeningDisable = [ "pic" ];
···
29
29
# based on the ArchLinux pkgbuild: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/r8168
30
30
preBuild = ''
31
31
makeFlagsArray+=("-C${kernel.dev}/lib/modules/${kernel.modDirVersion}/build")
32
32
-
makeFlagsArray+=("SUBDIRS=$PWD/src")
33
33
-
makeFlagsArray+=("EXTRA_CFLAGS=-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN")
32
32
+
makeFlagsArray+=("M=$PWD/src")
33
33
+
makeFlagsArray+=("EXTRA_CFLAGS=-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN -DCONFIG_ASPM -DENABLE_S5WOL -DENABLE_EEE")
34
34
makeFlagsArray+=("modules")
35
35
'';
36
36