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"
This commit is contained in:
parent
1799f8e87b
commit
ccb2baa615
@ -164,7 +164,8 @@ server = stdenv.mkDerivation (common // {
|
||||
bzip2 lz4 lzo snappy xz zstd
|
||||
cracklib judy libevent libxml2
|
||||
] ++ optional (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32) numactl
|
||||
++ optionals stdenv.hostPlatform.isLinux [ linux-pam pmdk.dev ]
|
||||
++ optionals stdenv.hostPlatform.isLinux [ linux-pam ]
|
||||
++ optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) pmdk.dev
|
||||
++ optional (!stdenv.hostPlatform.isDarwin) mytopEnv
|
||||
++ optionals withStorageMroonga [ kytea libsodium msgpack zeromq ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user