Skip to content

Commit

Permalink
mariadb: add patch for missing libcrypt on darwin
Browse files Browse the repository at this point in the history
Really fixes NixOS#69034
  • Loading branch information
matthewbauer committed Sep 22, 2019
1 parent 696b36f commit 067b4db
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/servers/sql/mariadb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, libaio, libevent, jemalloc, cracklib, systemd, numactl, perl
, fixDarwinDylibNames, cctools, CoreServices
, asio, buildEnv, check, scons
, less
, less, fetchpatch
, withoutClient ? false
}:

Expand Down Expand Up @@ -56,7 +56,12 @@ common = rec { # attributes common to both builds
patches = [
./cmake-includedir.patch
./cmake-libmariadb-includedir.patch
];
] ++ optional stdenv.hostPlatform.isDarwin (fetchpatch {
url = "https://github.com/MariaDB/mariadb-connector-c/commit/ee91b2c98a63acb787114dee4f2694e154630928.patch";
extraPrefix = "libmariadb/";
sha256 = "06i865zwyhs9fvrgmargzn09pbg1cmably3c4wifd241bj8ig8qk";
stripLen = 1;
});

cmakeFlags = [
"-DBUILD_CONFIG=mysql_release"
Expand Down

0 comments on commit 067b4db

Please sign in to comment.