@@ -14,7 +14,6 @@ mariadb = everything // {
1414 lib = client; # compat. with the old mariadb split
1515};
1616
17−
1817common = rec { # attributes common to both builds
1918 version = "10.1.16";
2019
@@ -155,6 +154,9 @@ everything = stdenv.mkDerivation (common // {
155154 postInstall = common.postInstall + ''
156155 rm -r "$out"/{mysql-test,sql-bench,data} # Don't need testing data
157156 rm "$out"/share/man/man1/mysql-test-run.pl.1
157+
158+ # Don't install mysqlbug to prevent a dependency on gcc.
159+ rm $out/bin/mysqlbug
158160 '';
159161});
160162