94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
26 lines
614 B
Nix
26 lines
614 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, linuxKernel
|
|
, ...
|
|
} @ args:
|
|
|
|
let
|
|
stdenv' = if kernel == null then stdenv else kernel.stdenv;
|
|
in
|
|
callPackage ./generic.nix args {
|
|
# check the release notes for compatible kernels
|
|
kernelCompatible =
|
|
if stdenv'.isx86_64
|
|
then kernel.kernelOlder "6.3"
|
|
else kernel.kernelOlder "6.2";
|
|
latestCompatibleLinuxPackages =
|
|
if stdenv'.isx86_64
|
|
then linuxKernel.packages.linux_6_2
|
|
else linuxKernel.packages.linux_6_1;
|
|
|
|
# this package should point to the latest release.
|
|
version = "2.1.11";
|
|
|
|
sha256 = "tJLwyqUj1l5F0WKZDeMGrEFa8fc/axKqm31xtN51a5M=";
|
|
}
|