nixpkgs/pkgs/os-specific/linux/zfs/unstable.nix
Andrew Marshall 2cbe063319 zfs_unstable: 2.2.3-unstable-2024-04-09 -> 2.2.4
No pre-release version at this moment, so use now-released 2.2.4.
2024-05-03 07:44:35 -04:00

34 lines
946 B
Nix

{ callPackage
, kernel ? null
, stdenv
, linuxKernel
, nixosTests
, ...
} @ args:
let
stdenv' = if kernel == null then stdenv else kernel.stdenv;
in
callPackage ./generic.nix args {
# You have to ensure that in `pkgs/top-level/linux-kernels.nix`
# this attribute is the correct one for this package.
kernelModuleAttribute = "zfs_unstable";
# check the release notes for compatible kernels
kernelCompatible = kernel.kernelOlder "6.9";
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_8;
# 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.4";
# rev = "";
isUnstable = true;
tests = [
nixosTests.zfs.unstable
];
hash = "sha256-SSp/1Tu1iGx5UDcG4j0k2fnYxK05cdE8gzfSn8DU5Z4=";
}