Wrap the patch in a condition

This commit is contained in:
Konstantin Bogdanov
2025-09-05 13:07:36 +02:00
parent 14381119fc
commit b5b82569a3
+2 -2
View File
@@ -91,10 +91,10 @@ llvmPackages_19.stdenv.mkDerivation (finalAttrs: {
dontCargoSetupPostUnpack = true;
patches = [
# Should not be necessary after 25.9
(fetchpatch {
(lib.optionalString (lib.versions.majorMinor version == "25.8") (fetchpatch {
url = "https://github.com/ClickHouse/ClickHouse/commit/67a42b78cdf1c793e78c1adbcc34162f67044032.patch";
sha256 = "7VF+JSztqTWD+aunCS3UVNxlRdwHc2W5fNqzDyeo3Fc=";
})
}))
];
postPatch = ''