From 8a07319e7fb086f9c6cbd47602773f10f3eb49fa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 May 2017 14:47:01 +0200 Subject: [PATCH] ixgbevf: 4.0.3 -> 4.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes error: assertion failed at /home/eelco/Dev/nixpkgs-stable/pkgs/os-specific/linux/ixgbevf/default.nix:3:1 (use ‘--show-trace’ to show detailed location information) deploying a >=4.10 kernel to EC2. (We could probably also drop the ixgbevf package with recent kernels, since the ixgbevf module included in the kernel source tree is recent enough according to Amazon's recommendation.) --- pkgs/os-specific/linux/ixgbevf/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/ixgbevf/default.nix b/pkgs/os-specific/linux/ixgbevf/default.nix index 1dbc5c744153..96dc0775cec3 100644 --- a/pkgs/os-specific/linux/ixgbevf/default.nix +++ b/pkgs/os-specific/linux/ixgbevf/default.nix @@ -1,14 +1,12 @@ { stdenv, fetchurl, kernel, kmod }: -assert stdenv.lib.versionOlder kernel.version "4.10"; - stdenv.mkDerivation rec { name = "ixgbevf-${version}-${kernel.version}"; - version = "4.0.3"; + version = "4.1.2"; src = fetchurl { url = "mirror://sourceforge/e1000/ixgbevf-${version}.tar.gz"; - sha256 = "0f95p2d7yhf57qa6fl8nv1rb4x8vwwgh7qhqcqpag0hz19dc3xff"; + sha256 = "1dismhiq0asf04rv6pv2sk2m3xcy6m3bpk16gmxqybca3xa28a5b"; }; hardeningDisable = [ "pic" ];