git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #26784 from markus1189/ammonite-disable-remote-logging

ammonite: disable remote logging by default

commit69ca7b145720358c9d574252d301184cc6177b90 authorJörg Thalheim <Mic92@users.noreply.github.com> dateFri 23 Jun 2017, 10:03 (9 years ago) parentaa3f37c5c2d4ef
1 file changed+7−2
pkgs/development/tools/ammonite/default.nix+7−2
pkgs/development/tools/ammonite/default.nix+7−2
@@ -1,5 +1,8 @@
1−{ stdenv, lib, fetchurl, makeWrapper, jre }:
1+{ stdenv, lib, fetchurl, makeWrapper, jre
2+, disableRemoteLogging ? true
3+}:
24
5+with stdenv.lib;
36stdenv.mkDerivation rec {
47 name = "ammonite-${version}";
58 version = "0.9.9";
@@ -19,7 +22,9 @@ stdenv.mkDerivation rec {
1922 mkdir -p $out/bin
2023 cp ${src} $out/bin/amm
2124 chmod +x $out/bin/amm
22− wrapProgram $out/bin/amm --prefix PATH ":" ${jre}/bin ;
25+ wrapProgram $out/bin/amm \
26+ ${optionalString disableRemoteLogging "--add-flags --no-remote-logging"} \
27+ --prefix PATH ":" ${jre}/bin ;
2328 '';
2429
2530 meta = {