mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
33 lines
977 B
Nix
33 lines
977 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, linuxKernel
|
|
, removeLinuxDRM ? false
|
|
, ...
|
|
} @ 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 || removeLinuxDRM
|
|
then kernel.kernelOlder "6.6"
|
|
else kernel.kernelOlder "6.2";
|
|
|
|
latestCompatibleLinuxPackages = if stdenv'.isx86_64 || removeLinuxDRM
|
|
then linuxKernel.packages.linux_6_5
|
|
else linuxKernel.packages.linux_6_1;
|
|
|
|
# this package should point to a version / git revision compatible with the latest kernel release
|
|
# IMPORTANT: Always use a tagged release candidate or commits from the
|
|
# zfs-<version>-staging branch, because this is tested by the OpenZFS
|
|
# maintainers.
|
|
version = "2.2.1-unstable-2023-10-21";
|
|
rev = "95785196f26e92d82cf4445654ba84e4a9671c57";
|
|
|
|
sha256 = "sha256-s1sdXSrLu6uSOmjprbUa4cFsE2Vj7JX5i75e4vRnlvg=";
|
|
|
|
isUnstable = true;
|
|
}
|