forked from mirrors/nixpkgs
Added MySQL driver link to JBoss
svn path=/nixpkgs/branches/stdenv-updates/; revision=10385
This commit is contained in:
parent
13255753b4
commit
e22cd8245e
5
pkgs/servers/http/jboss/jdbc/mysql/builder.sh
Normal file
5
pkgs/servers/http/jboss/jdbc/mysql/builder.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
buildInputs="$mysql_jdbc"
|
||||
source $stdenv/setup
|
||||
|
||||
ensureDir $out/server/default/lib
|
||||
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/server/default/lib/mysql-connector-java.jar
|
9
pkgs/servers/http/jboss/jdbc/mysql/default.nix
Normal file
9
pkgs/servers/http/jboss/jdbc/mysql/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ stdenv, jboss, mysql_jdbc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "jboss-mysql-jdbc";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
inherit mysql_jdbc;
|
||||
}
|
|
@ -3162,6 +3162,10 @@ rec {
|
|||
inherit fetchurl stdenv jdk5 jdk;
|
||||
};
|
||||
|
||||
jboss_mysql_jdbc = import ../servers/http/jboss/jdbc/mysql {
|
||||
inherit stdenv jboss mysql_jdbc;
|
||||
};
|
||||
|
||||
jetty = import ../servers/http/jetty {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue