lol

zfs_2_3: fix building with llvm 21 (#446815)

authored by

Adam C. Stephens and committed by
GitHub
dada4234 74075164

+9
+9
pkgs/os-specific/linux/zfs/2_3.nix
··· 3 lib, 4 nixosTests, 5 stdenv, 6 ... 7 }@args: 8 ··· 16 17 # this package should point to the latest release. 18 version = "2.3.4"; 19 20 tests = { 21 inherit (nixosTests.zfs) series_2_3;
··· 3 lib, 4 nixosTests, 5 stdenv, 6 + fetchpatch, 7 ... 8 }@args: 9 ··· 17 18 # this package should point to the latest release. 19 version = "2.3.4"; 20 + 21 + extraPatches = [ 22 + (fetchpatch { 23 + name = "fix_llvm-21_-wuninitialized-const-pointer_warning.patch"; 24 + url = "https://github.com/openzfs/zfs/commit/9acedbaceec362d08a33ebfe7c4c7efcee81d094.patch"; 25 + hash = "sha256-bjMRuT8gsMuwCnrS5PfG9vYthRvcFaWCCfQbCTVZdpw="; 26 + }) 27 + ]; 28 29 tests = { 30 inherit (nixosTests.zfs) series_2_3;