gasket: moved to linux-kernels.nix

Since this is a kernel module, this needs to be added
to be added to linux-kernels.nix so that it can be
built for specific kernel versions

Appended the kernel make flags.

Set a minimum kernel version of 5.15 since it's failing to build on
older kernels.
This commit is contained in:
Kyle Hendricks 2023-05-15 22:00:32 -04:00 committed by Kyle Hendricks
parent c9945b177c
commit c048cfe481
3 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "fcnqCBh04e+w8g079JyuyY2RPu34M+/X+Q8ObE+42i4=";
};
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"M=$(PWD)"
@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = [ lib.maintainers.kylehendricks ];
platforms = platforms.linux;
broken = versionOlder kernel.version "5.15";
};
}

View File

@ -27842,10 +27842,6 @@ with pkgs;
fwts = callPackage ../os-specific/linux/fwts { };
gasket = callPackage ../os-specific/linux/gasket {
inherit (linuxPackages) kernel;
};
gobi_loader = callPackage ../os-specific/linux/gobi_loader { };
libossp_uuid = callPackage ../development/libraries/libossp-uuid { };

View File

@ -345,6 +345,8 @@ in {
fwts-efi-runtime = callPackage ../os-specific/linux/fwts/module.nix { };
gasket = callPackage ../os-specific/linux/gasket { };
gcadapter-oc-kmod = callPackage ../os-specific/linux/gcadapter-oc-kmod { };
hyperv-daemons = callPackage ../os-specific/linux/hyperv-daemons { };