mariadb: build without snappy on 32-bit

... to work around a build problem
https://mariadb.atlassian.net/browse/MDEV-9000

I took care not to cause a rebuild on 64-bit.
This commit is contained in:
Vladimír Čunát 2015-10-27 14:34:31 +01:00
parent 1d640f029f
commit 40455f27c3

View File

@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
};
buildInputs = [
cmake ncurses openssl zlib xz lzo lz4 bzip2 snappy
cmake ncurses openssl zlib xz lzo lz4 bzip2
# temporary due to https://mariadb.atlassian.net/browse/MDEV-9000
(if stdenv.is64bit then snappy else null)
pcre libxml2 boost judy bison libevent cracklib
] ++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio systemd numactl ]
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames ];