tomcat-mysql-jdbc: remove build.sh
This commit is contained in:
parent
57c90b8956
commit
04a4175ff7
@ -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