jboss-mysql-jdbc: remove build.sh

This commit is contained in:
Felix Buehler 2021-11-16 16:19:48 +01:00
parent 57c90b8956
commit 1e498cb028
2 changed files with 13 additions and 10 deletions

View File

@ -1,5 +0,0 @@
buildInputs="$mysql_jdbc"
source $stdenv/setup
mkdir -p $out/server/default/lib
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/server/default/lib/mysql-connector-java.jar

View File

@ -2,13 +2,21 @@
stdenv.mkDerivation {
pname = "jboss-mysql-jdbc";
inherit (mysql_jdbc) version;
builder = ./builder.sh;
dontUnpack = true;
inherit mysql_jdbc;
version = mysql_jdbc.version;
installPhase = ''
runHook preInstall
meta = {
platforms = lib.platforms.unix;
mkdir -p $out/server/default/lib
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/server/default/lib/mysql-connector-java.jar
runHook postInstall
'';
meta = with lib; {
inherit (mysql_jdbc.meta) description license platforms homepage;
maintainers = with maintainers; [ ];
};
}