mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
linuxPackages.ena: 2.17.2 -> 2.17.4
Diff: https://github.com/amzn/amzn-drivers/compare/ena_linux_2.17.2...ena_linux_2.17.4
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
gitUpdater,
|
||||
kernel,
|
||||
kernelModuleMakeFlags,
|
||||
@@ -11,7 +10,7 @@ let
|
||||
rev-prefix = "ena_linux_";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "2.17.2";
|
||||
version = "2.17.4";
|
||||
pname = "ena";
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-${kernel.version}";
|
||||
|
||||
@@ -23,20 +22,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "amzn";
|
||||
repo = "amzn-drivers";
|
||||
rev = "${rev-prefix}${finalAttrs.version}";
|
||||
hash = "sha256-v/b4P5twRFaqjkeuXy6UhjnRCxVZ6+Muk80653uXnsY=";
|
||||
hash = "sha256-C4nw+RhBukUuSVMpXZ1hlpwxk58KgM+kpdht+BywbZ4=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
patches = [
|
||||
# Linux 7.2 signature change
|
||||
# https://github.com/amzn/amzn-drivers/pull/384
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/amzn/amzn-drivers/commit/907a1686e35458b8e3bc5b406609473bee7da39a.patch";
|
||||
hash = "sha256-KG85r4m868mc6+QlBdoE06FQcSG2JiDPFHjfRgxfkHY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
env.KERNEL_BUILD_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
|
||||
Reference in New Issue
Block a user