mysql57: Fix compile on macOS

This commit is contained in:
Michael Maclean 2021-02-09 17:50:01 +00:00
parent 25174d14f6
commit 519e32d4f4

View File

@ -23,8 +23,9 @@ self = stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake bison pkg-config rpcsvc-proto ];
buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib libtirpc ]
++ lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ];
buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ]
++ lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ]
++ lib.optionals stdenv.isLinux [ libtirpc ];
outputs = [ "out" "static" ];