ena: 2.8.0 -> 2.8.2

* Notably, fixes build on kernel >= 5.17

Signed-off-by: Nicholas Sielicki <git@opensource.nslick.com>
This commit is contained in:
Nicholas Sielicki 2023-01-31 03:31:00 +00:00
parent b926430adf
commit 33397faec9
2 changed files with 3 additions and 7 deletions

View file

@ -25,11 +25,7 @@ in
config = {
assertions = [
{ assertion = versionOlder config.boot.kernelPackages.kernel.version "5.17";
message = "ENA driver fails to build with kernel >= 5.17";
}
];
assertions = [ ];
boot.growPartition = true;

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, kernel }:
stdenv.mkDerivation rec {
version = "2.8.0";
version = "2.8.2";
name = "ena-${version}-${kernel.version}";
src = fetchFromGitHub {
owner = "amzn";
repo = "amzn-drivers";
rev = "ena_linux_${version}";
sha256 = "sha256-Nw86s93v8ahc/yt5sNsGz4LRwzDPtBnIZNno8vpFdsY=";
sha256 = "sha256-KlRNI2lnUbNeQGY1G+Qm683yXRTNCJwWIri51+PAi9o=";
};
hardeningDisable = [ "pic" ];