mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
mysql*: fix build w/glibc-2.32
This commit is contained in:
parent
39268ecf39
commit
1897ff96d3
@ -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" ];
|
||||
|
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user