mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user