Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: faa3bbb6d358
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a8d19200afd3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 15, 2019

  1. Copy the full SHA
    a8d1920 View commit details
Showing with 8 additions and 5 deletions.
  1. +8 −5 pkgs/os-specific/linux/ixgbevf/default.nix
13 changes: 8 additions & 5 deletions pkgs/os-specific/linux/ixgbevf/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "ixgbevf-${version}-${kernel.version}";
version = "4.3.4";
version = "4.6.1";

src = fetchurl {
url = "mirror://sourceforge/e1000/ixgbevf-${version}.tar.gz";
sha256 = "122zn9nd8f95bpidiiinc8xaizypkirqs8vlmsdy2iv3w65md9k3";
sha256 = "0h8a2g4hm38wmr13gvi2188r7nlv2c5rx6cal9gkf1nh6sla181c";
};

nativeBuildInputs = kernel.moduleBuildDependencies;
@@ -17,15 +17,18 @@ stdenv.mkDerivation rec {
cd src
makeFlagsArray+=(KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build INSTALL_MOD_PATH=$out MANDIR=/share/man)
substituteInPlace common.mk --replace /sbin/depmod ${kmod}/bin/depmod
# prevent host system kernel introspection
substituteInPlace common.mk --replace /boot/System.map /not-exists
'';

enableParallelBuilding = true;

meta = {
meta = with stdenv.lib; {
description = "Intel 82599 Virtual Function Driver";
homepage = https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/;
license = stdenv.lib.licenses.gpl2;
license = licenses.gpl2;
priority = 20;
broken = (stdenv.lib.versionOlder kernel.version "4.9");
# kernels ship ixgbevf driver for a long time already, maybe switch to a newest kernel?
broken = versionAtLeast kernel.version "5.2";
};
}