forked from mirrors/nixpkgs
Merge pull request #14016 from johbo/mysql55
mysql55: Allow to build on darwin
This commit is contained in:
commit
81af597030
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, perl }:
|
||||
{ stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, perl
|
||||
, cctools, CoreServices }:
|
||||
|
||||
# Note: zlib is not required; MySQL can use an internal zlib.
|
||||
|
||||
|
@ -22,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin perl;
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ perl cctools CoreServices ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -9811,7 +9811,10 @@ let
|
|||
ps = procps; /* !!! Linux only */
|
||||
};
|
||||
|
||||
mysql55 = callPackage ../servers/sql/mysql/5.5.x.nix { };
|
||||
mysql55 = callPackage ../servers/sql/mysql/5.5.x.nix {
|
||||
inherit (darwin) cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
mysql = mariadb;
|
||||
libmysql = mysql.lib;
|
||||
|
|
Loading…
Reference in a new issue