mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #210435 from Stunkymonkey/activemq-broker-phases
This commit is contained in:
commit
d105aed7f5
@ -7,20 +7,19 @@ let
|
|||||||
|
|
||||||
cfg = config.services.activemq;
|
cfg = config.services.activemq;
|
||||||
|
|
||||||
activemqBroker = stdenv.mkDerivation {
|
activemqBroker = runCommand "activemq-broker"
|
||||||
name = "activemq-broker";
|
{
|
||||||
phases = [ "installPhase" ];
|
nativeBuildInputs = [ jdk ];
|
||||||
buildInputs = [ jdk ];
|
} ''
|
||||||
installPhase = ''
|
mkdir -p $out/lib
|
||||||
mkdir -p $out/lib
|
source ${activemq}/lib/classpath.env
|
||||||
source ${activemq}/lib/classpath.env
|
export CLASSPATH
|
||||||
export CLASSPATH
|
ln -s "${./ActiveMQBroker.java}" ActiveMQBroker.java
|
||||||
ln -s "${./ActiveMQBroker.java}" ActiveMQBroker.java
|
javac -d $out/lib ActiveMQBroker.java
|
||||||
javac -d $out/lib ActiveMQBroker.java
|
'';
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.activemq = {
|
services.activemq = {
|
||||||
|
Loading…
Reference in New Issue
Block a user