boost: fix patches for 1.87.0 with structuredAttrs

This properly flattens the patches array again -
otherwise all patches are dropped when structuredAttrs are enabled.

The build will finish, but downstream users of the library will
not be able to link to it properly (e.g. folly).
This commit is contained in:
Stefan Frijters
2025-12-15 11:59:51 +01:00
parent b14a653706
commit df5c650e3f
+3 -1
View File
@@ -226,7 +226,7 @@ stdenv.mkDerivation {
hash = "sha256-0IHK55JSujYcwEVOuLkwOa/iPEkdAKQlwVWR42p/X2U=";
})
]
++ lib.optional (version == "1.87.0") [
++ lib.optionals (version == "1.87.0") [
# Fix operator<< for shared_ptr and intrusive_ptr
# https://github.com/boostorg/smart_ptr/issues/115
(fetchpatch {
@@ -402,4 +402,6 @@ stdenv.mkDerivation {
"dev"
];
setOutputFlags = false;
__structuredAttrs = true;
}