rtl88xxau-aircrack: 37e27f -> ee2997

Now builds on Linux 6.1.
This commit is contained in:
Aamaruvi Yogamani 2023-01-10 08:24:53 -05:00
parent d46a8e74bc
commit 86c3569581
No known key found for this signature in database
GPG Key ID: F930CFBFF5D7FDC3

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, kernel }:
let
rev = "37e27f9165300c89607144b646545fac576ec510";
rev = "ee299797bcd54d5b8c58d2da8576c54cea1a03a2";
in
stdenv.mkDerivation rec {
pname = "rtl88xxau-aircrack";
@ -11,15 +11,13 @@ stdenv.mkDerivation rec {
owner = "aircrack-ng";
repo = "rtl8812au";
inherit rev;
sha256 = "sha256-TpmpueKAaCe7Nlmv8pMvgMXGVmXVa/1mBwtEoy4JyCY=";
sha256 = "sha256-JUyUOqLMD9nSo6i87K/6Ljp+pWSqSBz/IZiFWu03rQw=";
};
buildInputs = kernel.moduleBuildDependencies;
hardeningDisable = [ "pic" ];
NIX_CFLAGS_COMPILE="-Wno-error=incompatible-pointer-types";
prePatch = ''
substituteInPlace ./Makefile \
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
@ -40,6 +38,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Only;
maintainers = [ maintainers.jethro ];
platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
broken = kernel.kernelAtLeast "5.18";
};
}