From 7cc21234f6ef02fc8fb0411edbd46fc0b42fa1be Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 26 Jan 2012 02:08:48 +0000 Subject: [PATCH] mysql55: Get building on darwin svn path=/nixpkgs/trunk/; revision=31842 --- pkgs/servers/sql/mysql55/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/mysql55/default.nix b/pkgs/servers/sql/mysql55/default.nix index 493f86f00f74..f1bc60673cbb 100644 --- a/pkgs/servers/sql/mysql55/default.nix +++ b/pkgs/servers/sql/mysql55/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib}: +{stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, darwinInstallNameToolUtility, perl}: # Note: zlib is not required; MySQL can use an internal zlib. @@ -10,7 +10,7 @@ stdenv.mkDerivation { sha256 = "03jl60mzrsd1jb8fvkz6c8j2239b37k8n1i07jk1q4yk58aq8ynh"; }; - buildInputs = [ cmake bison ncurses openssl readline zlib ]; + buildInputs = [ cmake bison ncurses openssl readline zlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ darwinInstallNameToolUtility perl ]; cmakeFlags = "-DWITH_SSL=yes -DWITH_READLINE=yes -DWITH_EMBEDDED_SERVER=yes -DWITH_ZLIB=yes -DINSTALL_SCRIPTDIR=bin";