ammonite: disable remote logging by default
This commit is contained in:
parent
8accb9cb1c
commit
5c2d4ef6cf
@ -1,5 +1,8 @@
|
||||
{ stdenv, lib, fetchurl, makeWrapper, jre }:
|
||||
{ stdenv, lib, fetchurl, makeWrapper, jre
|
||||
, disableRemoteLogging ? true
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ammonite-${version}";
|
||||
version = "0.9.9";
|
||||
@ -19,7 +22,9 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
cp ${src} $out/bin/amm
|
||||
chmod +x $out/bin/amm
|
||||
wrapProgram $out/bin/amm --prefix PATH ":" ${jre}/bin ;
|
||||
wrapProgram $out/bin/amm \
|
||||
${optionalString disableRemoteLogging "--add-flags --no-remote-logging"} \
|
||||
--prefix PATH ":" ${jre}/bin ;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user