Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1006 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
callPackage,
lib,
nixosTests,
stdenv,
fetchpatch,
...
}@args:
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_2_3";
kernelMinSupportedMajorMinor = "4.18";
kernelMaxSupportedMajorMinor = "6.16";
# this package should point to the latest release.
version = "2.3.4";
extraPatches = [
(fetchpatch {
name = "fix_llvm-21_-wuninitialized-const-pointer_warning.patch";
url = "https://github.com/openzfs/zfs/commit/9acedbaceec362d08a33ebfe7c4c7efcee81d094.patch";
hash = "sha256-bjMRuT8gsMuwCnrS5PfG9vYthRvcFaWCCfQbCTVZdpw=";
})
];
tests = {
inherit (nixosTests.zfs) series_2_3;
}
// lib.optionalAttrs stdenv.isx86_64 {
inherit (nixosTests.zfs) installer;
};
maintainers = with lib.maintainers; [
adamcstephens
amarshall
];
hash = "sha256-8BSuDRDyqPGAiyGGxFyEZIcXB+cKsKk25jcFPrSK3GI=";
}