mysql*: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch 2020-08-11 13:12:58 +02:00
parent 39268ecf39
commit 1897ff96d3
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,8 @@
{ stdenv, fetchurl, cmake, bison, pkgconfig
, boost, libedit, libevent, lz4, ncurses, openssl, protobuf, readline, zlib, perl
, cctools, CoreServices, developer_cmds }:
, cctools, CoreServices, developer_cmds
, libtirpc, rpcsvc-proto
}:
# Note: zlib is not required; MySQL can use an internal zlib.
@ -19,9 +21,9 @@ self = stdenv.mkDerivation rec {
export PATH=$PATH:$TMPDIR
'';
nativeBuildInputs = [ cmake bison pkgconfig ];
nativeBuildInputs = [ cmake bison pkgconfig rpcsvc-proto ];
buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ]
buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib libtirpc ]
++ stdenv.lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ];
outputs = [ "out" "static" ];

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, bison, cmake, pkgconfig
, boost, icu, libedit, libevent, lz4, ncurses, openssl, protobuf, re2, readline, zlib
, numactl, perl, cctools, CoreServices, developer_cmds
, numactl, perl, cctools, CoreServices, developer_cmds, libtirpc, rpcsvc-proto
}:
let
@ -18,12 +18,12 @@ self = stdenv.mkDerivation rec {
./libutils.patch
];
nativeBuildInputs = [ bison cmake pkgconfig ];
nativeBuildInputs = [ bison cmake pkgconfig rpcsvc-proto ];
buildInputs = [
boost icu libedit libevent lz4 ncurses openssl protobuf re2 readline zlib
] ++ lib.optionals stdenv.isLinux [
numactl
numactl libtirpc
] ++ lib.optionals stdenv.isDarwin [
cctools CoreServices developer_cmds
];