diff --git a/pkgs/development/tools/mysql-shell/innovation.nix b/pkgs/development/tools/mysql-shell/innovation.nix index 3ecb03539cb4..dcd4b9fc764d 100644 --- a/pkgs/development/tools/mysql-shell/innovation.nix +++ b/pkgs/development/tools/mysql-shell/innovation.nix @@ -114,6 +114,10 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isLinux [ libtirpc ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.libutil ]; + env = { + ${if stdenv.cc.isGNU then "NIX_CFLAGS_COMPILE" else null} = "-Wno-error=maybe-uninitialized"; + }; + preConfigure = '' # Build MySQL echo "Building mysqlclient mysqlxclient" @@ -145,6 +149,7 @@ stdenv.mkDerivation (finalAttrs: { description = "New command line scriptable shell for MySQL"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ aaronjheng ]; + platforms = lib.platforms.linux ++ lib.platforms.darwin; mainProgram = "mysqlsh"; }; })