mariadb: disable build S3 plugin on Darwin

This commit is contained in:
Izorkin 2020-07-02 17:33:21 +03:00
parent 91e580397e
commit 856a8b6ab5
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -183,9 +183,10 @@ server = stdenv.mkDerivation (common // {
"-DWITH_ROCKSDB_JEMALLOC=ON" "-DWITH_ROCKSDB_JEMALLOC=ON"
] ++ optional (!stdenv.hostPlatform.isDarwin) [ ] ++ optional (!stdenv.hostPlatform.isDarwin) [
"-DWITH_JEMALLOC=yes" "-DWITH_JEMALLOC=yes"
] ++ optional stdenv.hostPlatform.isDarwin [ ] ++ optionals stdenv.hostPlatform.isDarwin [
"-DPLUGIN_AUTH_PAM=OFF" "-DPLUGIN_AUTH_PAM=OFF"
"-DWITHOUT_OQGRAPH=1" "-DWITHOUT_OQGRAPH=1"
"-DWITHOUT_PLUGIN_S3=1"
]; ];
preConfigure = optionalString (!stdenv.hostPlatform.isDarwin) '' preConfigure = optionalString (!stdenv.hostPlatform.isDarwin) ''