mysql55: Allow to build on darwin

This commit is contained in:
Johannes Bornhold
2016-03-18 14:23:14 +01:00
parent 27e23486bb
commit 67b1acd989
2 changed files with 7 additions and 3 deletions
+3 -2
View File
@@ -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;