Merge pull request #146254 from Stunkymonkey/tomcat-mysql-jdbc-builder
This commit is contained in:
commit
20091ed205
@ -1,4 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out/lib
|
||||
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/lib/mysql-connector-java.jar
|
@ -2,12 +2,19 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tomcat-mysql-jdbc";
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [ mysql_jdbc ];
|
||||
|
||||
inherit mysql_jdbc;
|
||||
version = mysql_jdbc.version;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/lib/mysql-connector-java.jar
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user