Commit ce20ef1e authored by zowoq's avatar zowoq
Browse files

zfs_2_3: fix building with llvm 21

parent b4e45ea4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  lib,
  nixosTests,
  stdenv,
  fetchpatch,
  ...
}@args:

@@ -17,6 +18,14 @@ callPackage ./generic.nix args {
  # 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;
  }