mysql: fix building on Apple Silicon
rpcsvc-proto doesn't build for aarch64-darwin (`struct stat64` isn't declared), but it isn't actually necessary on Darwin/clang.
This commit is contained in:
parent
baf5e666c6
commit
9c76b17933
@ -21,7 +21,8 @@ self = stdenv.mkDerivation rec {
|
||||
export PATH=$PATH:$TMPDIR
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake bison pkg-config rpcsvc-proto ];
|
||||
nativeBuildInputs = [ bison cmake pkg-config ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ];
|
||||
|
||||
buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ]
|
||||
++ lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ]
|
||||
|
@ -17,7 +17,8 @@ self = stdenv.mkDerivation rec {
|
||||
./abi-check.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ bison cmake pkg-config rpcsvc-proto ];
|
||||
nativeBuildInputs = [ bison cmake pkg-config ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ];
|
||||
|
||||
## NOTE: MySQL upstream frequently twiddles the invocations of libtool. When updating, you might proactively grep for libtool references.
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user