diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2020-01-13 18:05:52 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2020-01-31 21:52:12 +0100 |
commit | 9b579843d4069839219d9c16c56695a09749b655 (patch) | |
tree | b3edf9b805093d40a5e26fa69cf6ba89da5d08f2 /pkgs/servers | |
parent | 6567823996e216e8bdfd4fbdb4ad3ed92572dbe7 (diff) |
treewide: use stdenv.macosVersionMin
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/sql/mysql/8.0.x.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/sql/mysql/8.0.x.nix b/pkgs/servers/sql/mysql/8.0.x.nix index fcb64550d6fe5..64b4417ea60e1 100644 --- a/pkgs/servers/sql/mysql/8.0.x.nix +++ b/pkgs/servers/sql/mysql/8.0.x.nix @@ -31,7 +31,7 @@ self = stdenv.mkDerivation rec { outputs = [ "out" "static" ]; cmakeFlags = [ - "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12" # For std::shared_timed_mutex. + "-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.macosVersionMin or ""}" # For std::shared_timed_mutex. "-DCMAKE_SKIP_BUILD_RPATH=OFF" # To run libmysql/libmysql_api_test during build. "-DFORCE_UNSUPPORTED_COMPILER=1" # To configure on Darwin. "-DWITH_ROUTER=OFF" # It may be packaged separately. |