mariadb*: fix build for x86_64-darwin and musl

The previous change of moving CXXFLAGS into env overwrote the
env variables specified in the "common" attrSet which is the
base for the attrs passed to mkDerivation.
This commit is contained in:
Stefan Frijters
2026-02-21 11:16:42 +01:00
parent 054a330ccd
commit 7495f3f862

View File

@@ -365,9 +365,11 @@ let
rm -r "$out"/OFF
'';
env = lib.optionalAttrs stdenv.hostPlatform.isi686 {
CXXFLAGS = "-fpermissive";
};
env =
lib.optionalAttrs stdenv.hostPlatform.isi686 {
CXXFLAGS = "-fpermissive";
}
// (common.env or { });
passthru = {
inherit client;