Skip to content

Commit

Permalink
languagetool: add command for HTTP server
Browse files Browse the repository at this point in the history
  • Loading branch information
Zimmi48 authored and edwtjo committed Oct 31, 2017
1 parent 4c26358 commit 6798212
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/text/languagetool/default.nix
Expand Up @@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
EXE
chmod +x $out/bin/$lt
done
cat > $out/bin/languagetool-http-server <<EXE
#!${stdenv.shell}
${jdk}/bin/java -cp $out/share/languagetool-server.jar org.languagetool.server.HTTPServer "\$@"
EXE
chmod +x $out/bin/languagetool-http-server
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 6798212

Please sign in to comment.