mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Added MySQL driver link to JBoss
svn path=/nixpkgs/trunk/; revision=10374
This commit is contained in:
parent
293fdf9c5d
commit
28ab0dd501
3 changed files with 18 additions and 0 deletions
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;
|
||||
}
|
|
@ -3168,6 +3168,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