Skip to content

Commit

Permalink
mariadb: clean up during the rebuild from merging #33513
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Jan 6, 2018
1 parent 729f97e commit 45f6d97
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/servers/sql/mariadb/default.nix
Expand Up @@ -26,11 +26,9 @@ common = rec { # attributes common to both builds
nativeBuildInputs = [ cmake pkgconfig ];

buildInputs = [
ncurses openssl zlib pcre jemalloc
ncurses openssl zlib pcre jemalloc libiconv
] ++ stdenv.lib.optionals stdenv.isLinux [ libaio systemd ]
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames cctools CoreServices ]
# FIXME: move libiconv outside isDarwin on staging.
++ optional stdenv.isDarwin libiconv;
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames cctools CoreServices ];

prePatch = ''
sed -i 's,[^"]*/var/log,/var/log,g' storage/mroonga/vendor/groonga/CMakeLists.txt
Expand Down Expand Up @@ -184,8 +182,7 @@ connector-c = stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ openssl zlib ];
# FIXME: move libiconv outside isDarwin on staging.
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
buildInputs = [ libiconv ];

enableParallelBuilding = true;

Expand Down

0 comments on commit 45f6d97

Please sign in to comment.