[staging-next] toml11: apply patch for Clang 21 (#444901)

This commit is contained in:
Jörg Thalheim
2025-09-22 19:28:27 +02:00
committed by GitHub
+9
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
cmake,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
patches = [
(fetchpatch {
name = "literal-operator-whitespace.patch";
url = "https://patch-diff.githubusercontent.com/raw/ToruNiina/toml11/pull/285.patch";
hash = "sha256-LZPr/cY6BZXC6/rBIAMCcqEdnhJs1AvbrPjpHF76uKg=";
})
];
nativeBuildInputs = [
cmake
];