More mysql migrations
This commit is contained in:
parent
a604b42480
commit
b524480695
|
@ -87,10 +87,10 @@ a.composableDerivation.composableDerivation {} (fix: {
|
||||||
// wwf {
|
// wwf {
|
||||||
name = "mysql";
|
name = "mysql";
|
||||||
enable = {
|
enable = {
|
||||||
buildInputs = [ a.mysql ];
|
buildInputs = [ a.mysql.lib ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-mysql-libs=${a.mysql}/lib/mysql"
|
"--with-mysql-libs=${a.mysql.lib}/lib/mysql"
|
||||||
"--with-mysql-includes=${a.mysql}/include/mysql"
|
"--with-mysql-includes=${a.mysql.lib}/include/mysql"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ composableDerivation.composableDerivation {} (fixed: rec {
|
||||||
"--with-libz=${zlib}" # optional
|
"--with-libz=${zlib}" # optional
|
||||||
|
|
||||||
"--with-pg=${postgresql}/bin/pg_config"
|
"--with-pg=${postgresql}/bin/pg_config"
|
||||||
"--with-mysql=${mysql}/bin/mysql_config"
|
"--with-mysql=${mysql.lib}/bin/mysql_config"
|
||||||
"--with-geotiff=${libgeotiff}"
|
"--with-geotiff=${libgeotiff}"
|
||||||
"--with-python" # optional
|
"--with-python" # optional
|
||||||
"--with-static-proj4=${proj}" # optional
|
"--with-static-proj4=${proj}" # optional
|
||||||
|
|
|
@ -193,7 +193,7 @@ let lispPackages = rec {
|
||||||
version = "git-20141112";
|
version = "git-20141112";
|
||||||
description = "Common Lisp SQL Interface library";
|
description = "Common Lisp SQL Interface library";
|
||||||
deps = [uffi];
|
deps = [uffi];
|
||||||
buildInputs = [pkgs.mysql pkgs.zlib];
|
buildInputs = [pkgs.mysql.lib pkgs.zlib];
|
||||||
# Source type: git
|
# Source type: git
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = ''http://git.b9.com/clsql.git'';
|
url = ''http://git.b9.com/clsql.git'';
|
||||||
|
@ -202,8 +202,8 @@ let lispPackages = rec {
|
||||||
};
|
};
|
||||||
overrides = x:{
|
overrides = x:{
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${pkgs.mysql}/include/mysql"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${pkgs.mysql.lib}/include/mysql"
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -L${pkgs.mysql}/lib/mysql"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L${pkgs.mysql.lib}/lib/mysql"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
|
||||||
sourceRoot=`pwd`/src
|
sourceRoot=`pwd`/src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql
|
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql.lib
|
||||||
makeWrapper ];
|
makeWrapper ];
|
||||||
|
|
||||||
NIX_LDFLAGS="-L${mysql}/lib/mysql";
|
NIX_LDFLAGS="-L${mysql.lib}/lib/mysql";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/zod
|
mkdir -p $out/bin $out/share/zod
|
||||||
|
|
Loading…
Reference in New Issue