tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
luaPackages.luadbi: libmysql -> connector-c
Robin Gloster
8 years ago
fe437d70
f3445606
+4
-3
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
lua-packages.nix
+4
-3
pkgs/top-level/lua-packages.nix
···
8
{ fetchurl, fetchzip, stdenv, lua, callPackage, unzip, zziplib, pkgconfig, libtool
9
, pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo
10
, perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook
11
-
, libmysql, postgresql, cyrus_sasl
12
, fetchFromGitHub, libmpack, which
13
}:
14
···
210
};
211
sourceRoot = ".";
212
213
-
buildInputs = [ libmysql postgresql sqlite ];
214
215
preConfigure = ''
216
substituteInPlace Makefile --replace CC=gcc CC=cc
···
220
'';
221
222
NIX_CFLAGS_COMPILE = [
223
-
"-I${libmysql.dev}/include/mysql"
0
224
"-I${postgresql}/include/server"
225
];
226
···
8
{ fetchurl, fetchzip, stdenv, lua, callPackage, unzip, zziplib, pkgconfig, libtool
9
, pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo
10
, perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook
11
+
, mysql, postgresql, cyrus_sasl
12
, fetchFromGitHub, libmpack, which
13
}:
14
···
210
};
211
sourceRoot = ".";
212
213
+
buildInputs = [ mysql.connector-c postgresql sqlite ];
214
215
preConfigure = ''
216
substituteInPlace Makefile --replace CC=gcc CC=cc
···
220
'';
221
222
NIX_CFLAGS_COMPILE = [
223
+
"-I${mysql.connector-c}/include/mysql"
224
+
"-L${mysql.connector-c}/lib/mysql"
225
"-I${postgresql}/include/server"
226
];
227