mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
636134b8ed
- This release brings official support for Kernel 6.10 - Also update zfs_unstable as it would otherwise lag behind - Upstream now links `zpool` completion, so only do so on older zfs (since we still need to support 2.1.x) Changelog: https://github.com/openzfs/zfs/releases/tag/zfs-2.2.6
31 lines
866 B
Nix
31 lines
866 B
Nix
{ callPackage
|
|
, kernel ? null
|
|
, stdenv
|
|
, nixosTests
|
|
, fetchpatch
|
|
, ...
|
|
} @ 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: kernel.kernelOlder "6.11";
|
|
|
|
# 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.6";
|
|
# rev = "";
|
|
|
|
tests = [
|
|
nixosTests.zfs.unstable
|
|
];
|
|
|
|
hash = "sha256-wkgoYg6uQOHVq8a9sJXzO/QXJ6q28l7JXWkC+BFvOb0=";
|
|
}
|