File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
pkgs/development/tools/mysql-shell Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ stdenv.mkDerivation (finalAttrs: {
114114 ++ lib . optionals stdenv . hostPlatform . isLinux [ libtirpc ]
115115 ++ lib . optionals stdenv . hostPlatform . isDarwin [ darwin . libutil ] ;
116116
117+ env = {
118+ ${ if stdenv . cc . isGNU then "NIX_CFLAGS_COMPILE" else null } = "-Wno-error=maybe-uninitialized" ;
119+ } ;
120+
117121 preConfigure = ''
118122 # Build MySQL
119123 echo "Building mysqlclient mysqlxclient"
@@ -145,6 +149,7 @@ stdenv.mkDerivation (finalAttrs: {
145149 description = "New command line scriptable shell for MySQL" ;
146150 license = lib . licenses . gpl2 ;
147151 maintainers = with lib . maintainers ; [ aaronjheng ] ;
152+ platforms = lib . platforms . linux ++ lib . platforms . darwin ;
148153 mainProgram = "mysqlsh" ;
149154 } ;
150155} )
You can’t perform that action at this time.
0 commit comments