treewide: libmysql -> mysql.connector-c
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, fetchgit, gambit,
|
||||
coreutils, rsync, bash,
|
||||
openssl, zlib, sqlite, libxml2, libyaml, libmysql, lmdb, leveldb }:
|
||||
openssl, zlib, sqlite, libxml2, libyaml, mysql, lmdb, leveldb }:
|
||||
|
||||
# TODO: distinct packages for gerbil-release and gerbil-devel
|
||||
|
||||
@@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
gambit
|
||||
coreutils rsync bash
|
||||
openssl zlib sqlite libxml2 libyaml libmysql lmdb leveldb
|
||||
openssl zlib sqlite libxml2 libyaml mysql.connector-c lmdb leveldb
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ];
|
||||
|
||||
postPatch = ''
|
||||
echo '(define (gerbil-version-string) "v${version}")' > src/gerbil/runtime/gx-version.scm
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
|
||||
, git, apacheHttpd, apr, aprutil, mariadb, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
|
||||
, git, apacheHttpd, apr, aprutil, mysql, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkgconfig git ];
|
||||
buildInputs =
|
||||
[ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
|
||||
mariadb.client mbedtls openssl libpthreadstubs ]
|
||||
mysql.connector-c mbedtls openssl libpthreadstubs ]
|
||||
++ stdenv.lib.optional stdenv.isLinux gtk2
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
||||
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
||||
|
||||
Reference in New Issue
Block a user