anchor.diff:  , withStorageRocks ? true
   }:
   
  -let # in mariadb # spans the whole file
  +let
   
   libExt = stdenv.hostPlatform.extensions.sharedLibrary;
   
  
positive.code:   ] ++ (packageSettings.extraBuildInputs or [])
      ++ lib.optionals stdenv.hostPlatform.isLinux ([ libkrb5 systemd ]
      ++ (if (lib.versionOlder version "10.6") then [ libaio ] else [ liburing ]))
      ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices cctools perl ]
      ++ lib.optional (!stdenv.hostPlatform.isDarwin) [ jemalloc ]
      ++ (if (lib.versionOlder version "10.5") then [ pcre ] else [ pcre2 ]);
  
  
negative.code: , curl, libiconv, ncurses, openssl, pcre, pcre2
  , libkrb5, libaio, liburing, systemd
  , CoreServices, cctools, perl
  , jemalloc, less, libedit
  # Server components
  , bzip2, lz4, lzo, snappy, xz, zlib, zstd
  , cracklib, judy, libevent, libxml2
  