mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
use hydrantlogger if in environment
svn path=/nixpkgs/trunk/; revision=20399
This commit is contained in:
parent
0e809b5aca
commit
e55f37246a
@ -18,6 +18,15 @@ stdenv.mkDerivation (
|
||||
postPhases =
|
||||
["generateWrappersPhase" "finalPhase"];
|
||||
|
||||
prePhases =
|
||||
["antSetupPhase"];
|
||||
|
||||
antSetupPhase = ''
|
||||
if test "$hydraAntLogger" != "" ; then
|
||||
export ANT_ARGS="-logger org.hydra.ant.HydraLogger -lib `ls $hydraAntLogger/lib/java/*.jar | head -1`"
|
||||
fi
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/lib/java
|
||||
${ if jars == [] then ''
|
||||
|
Loading…
Reference in New Issue
Block a user