mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #119133 from jdelStrother/mysql
mysql: fix building on Apple Silicon
This commit is contained in:
commit
a1db6dd4c4
|
@ -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 a new issue