mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
jboss-mysql-jdbc: remove build.sh
This commit is contained in:
parent
57c90b8956
commit
1e498cb028
@ -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
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user