git.iko.soy/typeable/nixpkgs
on master help sign in
mariadb: fix build on non-x86_64 linux

pmdk is only available on x86_64-linux, yet included in other platforms. Things tested: - build on x86_64-linux is the same (substituted from binary cache) - build on aarch64-linux doesn't crash now with an "unsupported system"

commitccb2baa61514310f5b6948d125a2596a35f51f69 authorVika Shleina <vika@fireburn.ru> dateWed 24 Nov 2021, 02:07 (5 years ago) parent1799f8e
1 file changed+2−1
pkgs/servers/sql/mariadb/default.nix+2−1
pkgs/servers/sql/mariadb/default.nix+2−1
@@ -164,7 +164,8 @@ server = stdenv.mkDerivation (common // {
164164 bzip2 lz4 lzo snappy xz zstd
165165 cracklib judy libevent libxml2
166166 ] ++ optional (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32) numactl
167− ++ optionals stdenv.hostPlatform.isLinux [ linux-pam pmdk.dev ]
167+ ++ optionals stdenv.hostPlatform.isLinux [ linux-pam ]
168+ ++ optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) pmdk.dev
168169 ++ optional (!stdenv.hostPlatform.isDarwin) mytopEnv
169170 ++ optionals withStorageMroonga [ kytea libsodium msgpack zeromq ];
170171